diff options
author | Dominik Maier <domenukk@gmail.com> | 2021-01-08 11:36:40 +0100 |
---|---|---|
committer | Dominik Maier <domenukk@gmail.com> | 2021-01-08 11:36:40 +0100 |
commit | 34732e3c5ede9020ff1802f0f0827e3731217dce (patch) | |
tree | d833692ced76c2c45a3cd26e9341487419dc812a /include | |
parent | 7eaca9c840e7e8599db3a7a09bcbf6d774ee7631 (diff) | |
download | afl++-34732e3c5ede9020ff1802f0f0827e3731217dce.tar.gz |
refactored kill signal env parsing
Diffstat (limited to 'include')
-rw-r--r-- | include/common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index 125c3abf..9490ec5f 100644 --- a/include/common.h +++ b/include/common.h @@ -56,6 +56,11 @@ extern u8 *doc_path; /* path to documentation dir */ u8 *find_binary(u8 *fname); +/* Parses the kill signal environment variable, FATALs on error. + If the env is not set, sets the env to default_signal for the signal handlers + and returns the default_signal. */ +int parse_afl_kill_signal_env(u8 *afl_kill_signal_env, int default_signal); + /* Read a bitmap from file fname to memory This is for the -B option again. */ |