mirror of
https://github.com/thomasxm/BOAZ_beta
synced 2026-06-06 16:54:29 +00:00
25 lines
289 B
ArmAsm
25 lines
289 B
ArmAsm
extern _Entry
|
|
|
|
global _Start
|
|
global _GetRIP
|
|
|
|
section .text$A
|
|
_Start:
|
|
push ebp
|
|
mov ebp, esp
|
|
|
|
call _Entry
|
|
|
|
mov esp, ebp
|
|
pop ebp
|
|
ret
|
|
|
|
section .text$F
|
|
_GetRIP:
|
|
call _retptr
|
|
|
|
_retptr:
|
|
pop eax
|
|
sub eax, 5
|
|
ret
|