Last active
April 25, 2020 03:25
-
-
Save rcx/3470d9722cefa1c6e63f60fc5edaac51 to your computer and use it in GitHub Desktop.
Preprocess library include headers for loading in IDA
This file contains 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
// #define __attribute__(X) | |
// #define __asm__(X) | |
// #define __extension__ | |
// #define __inline | |
#define __signed__ signed | |
#undef __GNUC__ | |
#undef __GNUC_MINOR__ | |
// #pragma pack(push, 1) |
This file contains 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
clang -include preamble.h -I. -P -E capstone.h -o out.h |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment