diff options
author | vanhauser-thc <vh@thc.org> | 2021-11-04 15:53:17 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2021-11-04 15:53:17 +0100 |
commit | 6ce3d7fede6b32b522b6cc4403f7c0101cf4a4bc (patch) | |
tree | a043ea65c1d25dd0b5bc35ee5e4a00497c2042bb /instrumentation/SanitizerCoveragePCGUARD.so.cc | |
parent | 5e0e385e6290e44eebef32e8b1a2438ebde572e5 (diff) | |
download | afl++-6ce3d7fede6b32b522b6cc4403f7c0101cf4a4bc.tar.gz |
add AFL_USE_TSAN
Diffstat (limited to 'instrumentation/SanitizerCoveragePCGUARD.so.cc')
-rw-r--r-- | instrumentation/SanitizerCoveragePCGUARD.so.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/instrumentation/SanitizerCoveragePCGUARD.so.cc b/instrumentation/SanitizerCoveragePCGUARD.so.cc index be3f4f49..76bb2448 100644 --- a/instrumentation/SanitizerCoveragePCGUARD.so.cc +++ b/instrumentation/SanitizerCoveragePCGUARD.so.cc @@ -547,10 +547,11 @@ bool ModuleSanitizerCoverage::instrumentModule( else { char modeline[100]; - snprintf(modeline, sizeof(modeline), "%s%s%s%s%s", + snprintf(modeline, sizeof(modeline), "%s%s%s%s%s%s", getenv("AFL_HARDEN") ? "hardened" : "non-hardened", getenv("AFL_USE_ASAN") ? ", ASAN" : "", getenv("AFL_USE_MSAN") ? ", MSAN" : "", + getenv("AFL_USE_TSAN") ? ", TSAN" : "", getenv("AFL_USE_CFISAN") ? ", CFISAN" : "", getenv("AFL_USE_UBSAN") ? ", UBSAN" : ""); OKF("Instrumented %u locations with no collisions (%s mode) of which are " |