Projects STRLCPY syscall_api Files
🤬
23 lines | ISO-8859-1 | 1001 bytes

SYSCALL_API

syscall_api.asm block is used for dynamically finding the syscall number (SN) inside a function body and performing a manual syscall with the found SN. If SN could not be found inside the given function body, R10 register will be equal to -1. Check here for example code.

Block searches for the following common instruction sequence during syscalls.

    mov r10, rcx
    mov eax, ??? ; <-- two byte SN here
    ; ...
    syscall
    ret

example

Prior Work & References

Please wait...
Page is in error, reload to recover