Started work on reverse engineering EE kernel

This commit is contained in:
google0101-ryan 2024-03-02 18:29:22 -05:00
parent 1e006ca9f1
commit ee60f0ef66
3 changed files with 0 additions and 21 deletions

BIN
a.out

Binary file not shown.

BIN
tst.o

Binary file not shown.

21
tst.s
View file

@ -1,21 +0,0 @@
.intel_syntax noprefix
.data
LC0:
.asciz "0x%08lx, 0x%08lx\n"
.text
foo:
sub rsp, 8
mov rdx, rsi
mov rsi, rdi
lea rdi, [rip+LC0]
mov eax, 0
call printf
add rsp, 8
ret
.global main
main:
mov rdi, 0xABABABAB
mov rsi, 0xBEEFBEEF
call foo
ret