Skip to content

gnusec/syscall_api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Assembly 70.0%
  • Shell 24.8%
  • C 5.2%