MCPcopy Create free account
hub / github.com/ElementsProject/elements / get_fuzz_env

Function get_fuzz_env

test/fuzz/test_runner.py:17–24  ·  view source on GitHub ↗
(*, target, source_dir)

Source from the content-addressed store, hash-verified

15
16
17def 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
27def main():

Callers 2

mainFunction · 0.85
jobFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected