Skip to content

Commit 4bb0da7

Browse files
committed
Update static-pie-prestub-amd64-shorter.asm
Fix comment
1 parent d68c1db commit 4bb0da7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/static-pie-prestub-amd64-shorter.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ _svc_alloc_rwx:
3434

3535
; Base91 decoder
3636
_decode:
37-
mov al, 0x1f ; syscall preserves rax; hence at this point rax=9
37+
mov al, 0x1f ; syscall preserves all registers except rcx, r11, rax; hence at this point rax=(previous rdi)=0
3838
_decode_loop:
3939
shl eax, 13
4040
_decode_loop_2:

0 commit comments

Comments
 (0)