9 #define GV_DEFAULT_MAX_OFFSET 10000
10 #define GV_DEFAULT_MAX_PADDING 50
11 #define GV_DEFAULT_DO_PERMUTATE 1
13 #define FUNC_DEFAULT_MAX_OFFSET 10000
14 #define FUNC_DEFAULT_MAX_PADDING 100
15 #define FUNC_DEFAULT_MAX_BB_SHIFT 50
16 #define FUNC_DEFAULT_DO_PERMUTATE 1
18 #define STACK_DEFAULT_DO_OFFSET 1
19 #define STACK_DEFAULT_MAX_OFFSET 50
21 #define STACKFRAME_DEFAULT_DO_OFFSET 1
22 #define STACKFRAME_DEFAULT_MAX_OFFSET 50
23 #define STACKFRAME_DEFAULT_MAX_PADDING 5000
24 #define STACKFRAME_DEFAULT_DO_PERMUTATE 1
25 #define STACKFRAME_DEFAULT_STATIC_PADDING 1
26 #define STACKFRAME_DEFAULT_CALLER_PADDING 0 // broken, disabled (see note in code)
28 #define HEAP_MAP_DEFAULT_DO_PERMUTATE 1
30 #define HEAP_DEFAULT_MAX_OFFSET 10000
31 #define HEAP_DEFAULT_MAX_PADDING 100
33 #define MAP_DEFAULT_MAX_OFFSET_PAGES 10
34 #define MAP_DEFAULT_MAX_PADDING_PAGES 3
40 class ASRPass
: public ModulePass
{
47 virtual bool runOnModule(Module
&M
);