Created
February 5, 2020 04:03
-
-
Save lynus/6759624daec21cd87562e6cc5e23c0a8 to your computer and use it in GitHub Desktop.
query syscall number with your compiler
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
printf SYS_eventfd2 | gcc -include sys/syscall.h -E - | |
or check out ia32 syscall number: | |
printf SYS_eventfd2 | gcc -include sys/syscall.h -E -m32 - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment