ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
IntelPinSupport.h
Go to the documentation of this file.
1 #ifndef USE_ROSE_INTEL_PIN_SUPPORT
2 #error "ROSE not configured to use INTEL PIN support (use --with-IntelPin=<path>)."
3 #endif
4 
5 // Required macros for Intel Pin tools (their header files require these) to compile
6 #define TARGET_LINUX
7 #define TARGET_IA32E
8 #define HOST_IA32E
9 #define USING_XED
10 
11 // This macro will remove the "using namespace LEVEL_PINCLIENT;" from pin.H"
12 #define REQUIRE_PIN_TO_USE_NAMESPACES
13 #include "pin.H"
14 
15 std::string output (LEVEL_CORE::IMG_TYPE image_type);
16 std::string output (LEVEL_CORE::SEC_TYPE section_type);