run exe arg, deref -> read

This commit is contained in:
2025-08-21 10:34:32 +02:00
parent 3fd62c6083
commit ca8ae6e110
6 changed files with 55 additions and 40 deletions

View File

@@ -112,14 +112,14 @@ section .text
emit!(
&mut self.output,
"
section .text._builtin_deref8
_builtin_deref8:
section .text._builtin_read8
_builtin_read8:
xor rax, rax
mov al, byte [rdi]
ret
section .text._builtin_deref64
_builtin_deref64:
section .text._builtin_read64
_builtin_read64:
mov rax, qword [rdi]
ret