ROSE  0.11.2.0
IntelPinSupport.h
1 #include <rosePublicConfig.h>
2 #ifdef ROSE_BUILD_BINARY_ANALYSIS_SUPPORT
3 
4 #ifndef USE_ROSE_INTEL_PIN_SUPPORT
5 #error "ROSE not configured to use INTEL PIN support (use --with-IntelPin=<path>)."
6 #endif
7 
8 // Required macros for Intel Pin tools (their header files require these) to compile
9 #define TARGET_LINUX
10 #define TARGET_IA32E
11 #define HOST_IA32E
12 #define USING_XED
13 
14 // This macro will remove the "using namespace LEVEL_PINCLIENT;" from pin.H"
15 #define REQUIRE_PIN_TO_USE_NAMESPACES
16 #include "pin.H"
17 
18 std::string output (LEVEL_CORE::IMG_TYPE image_type);
19 std::string output (LEVEL_CORE::SEC_TYPE section_type);
20 
21 #endif