You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can see all sanitizer options (some of which are unsupported) by using the ``help`` flag:
107
+
108
+
.. code-block:: console
109
+
110
+
% RTSAN_OPTIONS=help=true ./a.out
111
+
112
+
A **partial** list of flags RealtimeSanitizer respects:
113
+
114
+
.. list-table:: Run-time Flags
115
+
:widths: 20 10 10 70
116
+
:header-rows: 1
117
+
118
+
* - Flag name
119
+
- Default value
120
+
- Type
121
+
- Short description
122
+
* - ``halt_on_error``
123
+
- ``true``
124
+
- boolean
125
+
- Exit after first reported error. If false (continue after a detected error), deduplicates error stacks so errors appear only once.
126
+
* - ``print_stats_on_exit``
127
+
- ``false``
128
+
- boolean
129
+
- Print stats on exit. Includes total and unique errors.
130
+
* - ``color``
131
+
- ``"auto"``
132
+
- string
133
+
- Colorize reports: (always|never|auto).
134
+
* - ``fast_unwind_on_fatal``
135
+
- ``false``
136
+
- boolean
137
+
- If available, use the fast frame-pointer-based unwinder on detected errors. If true, ensure the code under test has been compiled with frame pointers with ``-fno-omit-frame-pointers`` or similar.
138
+
* - ``abort_on_error``
139
+
- OS dependent
140
+
- boolean
141
+
- If true, the tool calls abort() instead of _exit() after printing the error report. On some OSes (OSX, for exmple) this is beneficial because a better stack trace is emitted on crash.
142
+
* - ``symbolize``
143
+
- ``true``
144
+
- boolean
145
+
- If set, use the symbolizer to turn virtual addresses to file/line locations. If false, can greatly speed up the error reporting.
146
+
147
+
148
+
Some issues with flags can be debugged using the ``verbosity=$NUM`` flag:
0 commit comments