Skip to content

feat: Allow Syscall name extraction on generic Linux#1

Open
MikMuellerDev wants to merge 1 commit intoosmhpi:mainfrom
MikMuellerDev:main
Open

feat: Allow Syscall name extraction on generic Linux#1
MikMuellerDev wants to merge 1 commit intoosmhpi:mainfrom
MikMuellerDev:main

Conversation

@MikMuellerDev
Copy link
Copy Markdown

Good evening,
I really like this idea.
However, the helper script for extracting the syscall number-name mapping did not work on my system (NixOS).
In order to mitigate this issue, i rewrote the extractor so that it would search for unistd_64.h in all locations that GCC would.
For this, the bash script was added.
I have tested this for Debian and NixOS.
Best,
Mik

@MikMuellerDev
Copy link
Copy Markdown
Author

I think it would be sensible to move the bash extraction logic into Python.
If you are OK with this, I would implement the changes today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant