Tor  0.4.7.0-alpha-dev
risky_options.c
Go to the documentation of this file.
1 /* Copyright (c) 2001 Matej Pfajfar.
2  * Copyright (c) 2001-2004, Roger Dingledine.
3  * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
4  * Copyright (c) 2007-2021, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
6 
7 /**
8  * \file risky_options.c
9  * \brief List compile-time options that might make Tor less reliable.
10  **/
11 
12 #include "orconfig.h"
13 #include "app/main/risky_options.h"
14 
15 /** A space-separated list of the compile-time options might make Tor less
16  * reliable or secure. These options mainly exist for testing or debugging.
17  */
18 const char risky_option_list[] =
19  ""
20 #ifdef DISABLE_ASSERTS_IN_TEST
21  " --disable-asserts-in-test"
22 #endif
23 #ifdef TOR_UNIT_TESTS
24  " TOR_UNIT_TESTS"
25 #endif
26 #ifdef ENABLE_RESTART_DEBUGGING
27  " --enable-restart-debugging"
28 #endif
29 #ifdef ALL_BUGS_ARE_FATAL
30  " --enable-all-bugs-are-fatal"
31 #endif
32 #ifdef DISABLE_MEMORY_SENTINELS
33  " --disable-memory-sentinels"
34 #endif
35  ;
const char risky_option_list[]
Definition: risky_options.c:18
Header for risky_options.c.