diff options
| author | van Hauser <vh@thc.org> | 2021-04-04 15:28:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-04 15:28:42 +0200 |
| commit | c23183f1dc39ce0792a879065e6aea33a4c571f8 (patch) | |
| tree | 68acaf32c888de02334d15814743c1463c564c15 /include | |
| parent | 53facd8882173873a7b78860b0fb49884de90c5b (diff) | |
| parent | 99819cf5d1cbc262810f26098a5796c9d1262bc5 (diff) | |
| download | afl++-c23183f1dc39ce0792a879065e6aea33a4c571f8.tar.gz | |
Merge pull request #855 from MegaManSec/leak-sanitizer
Add support for standalone leak-sanitizer
Diffstat (limited to 'include')
| -rw-r--r-- | include/config.h | 4 | ||||
| -rw-r--r-- | include/envs.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 75f363f7..aa24ea6c 100644 --- a/include/config.h +++ b/include/config.h @@ -406,6 +406,10 @@ #define MSAN_ERROR 86 +/* Distinctive exit code used to indicate LSAN trip condition: */ + +#define LSAN_ERROR 23 + /* Designated file descriptors for forkserver commands (the application will use FORKSRV_FD and FORKSRV_FD + 1): */ diff --git a/include/envs.h b/include/envs.h index f7c8b460..887e2c4f 100644 --- a/include/envs.h +++ b/include/envs.h @@ -181,6 +181,7 @@ static char *afl_environment_variables[] = { "AFL_USE_TRACE_PC", "AFL_USE_UBSAN", "AFL_USE_CFISAN", + "AFL_USE_LSAN", "AFL_WINE_PATH", "AFL_NO_SNAPSHOT", "AFL_EXPAND_HAVOC_NOW", |
