-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgen_core.yaml
37 lines (34 loc) · 1.48 KB
/
gen_core.yaml
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
# Library internal struct analysis configuration file
################################################################################
# For libdummy.so
################################################################################
# The path to the GDB core dump file
core_dump_dir: "/tmp/libdummy_dump/"
# The struct type
struct_type: "lib_state"
# The regex to match the function names in the library
brkp_regex: ["^libapi_"]
# The test program to run to generate the core dump
test_name: "./tests/libdummy/test"
# The test program environment variables
test_env: {"LD_BIND_NOW": "1", "LD_LIBRARY_PATH": "./tests/libdummy/"}
# The arguments to pass to the library self-test program
test_argv: ""
################################################################################
# For libz
################################################################################
# core_dump_dir: "/tmp/libz_dump/"
# struct_type: "z_stream"
# brkp_regex: ["^deflate", "^inflate", "^gz", "^compress", "^uncompress"]
# test_name: "./tests/libz/test"
# test_env: {"LD_BIND_NOW": "1", "LD_LIBRARY_PATH": "./tests/libz/"}
# test_argv: ""
################################################################################
# For libpng
################################################################################
# core_dump_dir: "/tmp/libpng_dump/"
# struct_type: "png_struct"
# brkp_regex: ["^png_"]
# test_name: "./tests/libpng/test"
# test_env: {"LD_BIND_NOW": "1", "LD_LIBRARY_PATH": "./tests/libpng/"}
# test_argv: ""