(*, target, source_dir)
| 15 | |
| 16 | |
| 17 | def get_fuzz_env(*, target, source_dir): |
| 18 | return { |
| 19 | 'FUZZ': target, |
| 20 | 'UBSAN_OPTIONS': |
| 21 | f'suppressions={source_dir}/test/sanitizer_suppressions/ubsan:print_stacktrace=1:halt_on_error=1:report_error_type=1', |
| 22 | 'ASAN_OPTIONS': # symbolizer disabled due to https://github.com/google/sanitizers/issues/1364#issuecomment-761072085 |
| 23 | 'symbolize=0:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1', |
| 24 | } |
| 25 | |
| 26 | |
| 27 | def main(): |