Syscall table uses hardcoded numbers #15
Labels
Arch
related to the architecture procmon is running on
Build
related to building procmon
enhancement
New feature or request
Syscall numbers vary between different architectures, so tables like this won't be portable for arches other than x86_64.
These tables can be built by running a script like this during build time:
Which will produce something like:
(It can be easily tweaked to produce the inverted table, too.)
Calling
cpp
directly might not be the best thing to do, however, especially if you want to prepare this for cross-compilation. Should be possible to perform this pipeline mostly in CMake, though.The text was updated successfully, but these errors were encountered: