2 * @brief Configuration file.
8 /** Turn on debugging. */
9 /* #ifndef CONFIG_DEBUG
18 /** Turn on support for dumping cyclegraphs as dot files at each
20 #define SUPPORT_MOD_ORDER_DUMP 0
22 /** Do we have a 48 bit virtual address (64 bit machine) or 32 bit addresses.
23 * Set to 1 for 48-bit, 0 for 32-bit. */
32 /** Snapshotting configurables */
35 * If USE_MPROTECT_SNAPSHOT=2, then snapshot by tuned mmap() algorithm
36 * If USE_MPROTECT_SNAPSHOT=1, then snapshot by using mmap() and mprotect()
37 * If USE_MPROTECT_SNAPSHOT=0, then snapshot by using fork() */
38 #define USE_MPROTECT_SNAPSHOT 0
40 /** Size of signal stack */
41 #define SIGSTACKSIZE 65536
43 /** Page size configuration */
48 /** Thread parameters */
50 /* Size of stack to allocate for a thread. */
51 #define STACK_SIZE (1024 * 1024)
53 /** How many shadow tables of memory to preallocate for data race detector. */
54 #define SHADOWBASETABLES 4
56 /** Enable debugging assertions (via ASSERT()) */
59 /** Enable mitigations against fork handlers that call into locks... */
60 #define FORK_HANDLER_HACK