This commit is contained in:
janis 2026-06-04 08:09:14 +02:00
parent 6f516bbb93
commit 6b6bacd9dd
Signed by: janis
SSH key fingerprint: SHA256:bB1qbbqmDXZNT0KKD5c2Dfjg53JGhj7B3CFcLIzSqq8

View file

@ -67,9 +67,9 @@
# ; alloca 0x1000 bytes on the stack
# mov rbp, rsp
48 89 e5
# sub rsp, 0x1000
48 81 ec 00 10 00 00
# ; read 0x800 bytes from stdin into the stack
# sub rsp, 0x10000, increase this if you want to read more than 0x10000 bytes
48 81 ec 00 00 01 00
# ; read 0x10000 bytes from stdin into the stack
# .READ: (130)
# xor rax, rax
48 31 c0
@ -77,8 +77,8 @@
48 c7 c7 00 00 00 00
# mov rsi, rsp
48 89 e6
# mov rdx, 0x800
48 c7 c2 00 08 00 00
# mov rdx, 0x10000, increase this if you want to read more than 0x10000 bytes
48 c7 c2 00 00 01 00
# syscall (sys_read)
0f 05
# cmp rax, 0
@ -97,8 +97,8 @@
# ; dst = r10
# mov r10, rsp
49 89 e2
# add r10, 0x800
49 81 c2 00 08 00 00
# add r10, 0x0000
49 81 c2 00 00 00 00
# ; while (pos < end) {
# ; .L0: (181)
# cmp r9, r8
@ -199,8 +199,8 @@ e9 b7 ff ff ff
48 c7 c7 01 00 00 00
# mov rsi, rsp
48 89 e6
# add rsi, 0x800
48 81 c6 00 08 00 00
# add rsi, 0x000
48 81 c6 00 00 00 00
# mov rdx, r10
4c 89 d2
# sub rdx, rsi