-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathglobals.py
40 lines (27 loc) · 959 Bytes
/
globals.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
from test_suite.fuzz_interface import HarnessCtx
# Global variables that can be accessed from processes.
# Target libraries (for run-tests)
target_libraries = {}
# Ground truth library (for run-tests)
reference_shared_library = None
# Number of iterations (for check-consistency)
n_iterations = 0
# Output directory
output_dir = None
# Fill output buffer with random bytes
output_buffer_pointer = None
# A FeaturePool object describing the hardcoded and supported features
# of the target
feature_pool = None
# (For fixtures) Whether to output in human-readable format
readable = False
# (For fixtures) Whether to organize fixtures by program type
organize_fixture_dir = False
# (For fixtures) Whether to only keep passing tests
only_keep_passing = False
# Default harness context
default_harness_ctx: HarnessCtx = None
# Whether to run in consensus mode
consensus_mode: bool = False
# Whether to run in core bpf mode
core_bpf_mode: bool = False