mirror of
https://github.com/thunderbrewhq/binana.git
synced 2025-12-12 09:52:28 +00:00
refactor(profile): profiles are now stored in profile/ subdirectory
This commit is contained in:
parent
1e1f435c5c
commit
c2b96d98b6
100 changed files with 58650 additions and 10 deletions
23
profile/3.3.5a-windows/include/system/detect.h
Normal file
23
profile/3.3.5a-windows/include/system/detect.h
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#ifndef SYSTEM_DETECT_H
|
||||
#define SYSTEM_DETECT_H
|
||||
|
||||
#if !defined(IDA) && !defined(GHIDRA) && !defined(BINANA_GENERATOR)
|
||||
|
||||
#error "Preprocessor mode not detected! You must define either IDA or GHIDRA or BINANA_GENERATOR"
|
||||
|
||||
#endif
|
||||
|
||||
#if defined(IDA)
|
||||
|
||||
// why does this work?
|
||||
#define DECLARE_ENUM(E) typedef enum E##__ E
|
||||
|
||||
#else
|
||||
|
||||
#define DECLARE_ENUM(E) typedef enum E E
|
||||
|
||||
#endif
|
||||
|
||||
#define DECLARE_STRUCT(T) typedef struct T T
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue