Shadow Stack  0.2
 All Classes Namespaces Files Functions Variables Typedefs Macros
constants.hpp
Go to the documentation of this file.
1 
2 #ifndef __CONSTANTS_HPP__
3 #define __CONSTANTS_HPP__
4 
5 #include <string.h>
6 
7 
8 /*********************************************************/
9 /* */
10 /* Libraries for drrun */
11 /* */
12 /*********************************************************/
13 
14 
15 /* clang-format off */
16 
17 #ifndef DYNAMORIO_CLIENT_SO
18 
20 # define DYNAMORIO_CLIENT_SO "/path/to/.so/"
21 #endif
22 
23 
24 /*********************************************************/
25 /* */
26 /* General */
27 /* */
28 /*********************************************************/
29 
30 
31 #ifndef PROGRAM_NAME
32 
34 # define PROGRAM_NAME "PROGRAM_NAME_PLACEHOLDER"
35 #endif
36 
37 #ifdef DEBUG_MODE
38 # ifndef LOG_FILE
39 
42 # define LOG_FILE "LOG_FILE_PLACEHOLDER"
43 # endif
44 #endif
45 
46 /* clang-format on */
47 
50 #define STDOUT_FILE stdout
51 
54 #define ERROR_FILE stderr
55 
60 #define WILDCARD ( -1 )
61 
66 #define DR_SS_ENV_SOCK "DR_SS_ENV_SOCK_VAR"
67 
71 #define DR_SS_ENV_FD "DR_SS_ENV_FD_VAR"
72 
73 #endif