about summary refs log tree commit diff
path: root/llvm_mode/LLVMInsTrim.so.cc
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-03-27 12:09:06 +0100
committervan Hauser <vh@thc.org>2020-03-27 12:09:06 +0100
commita7553eae289ccaeb9626c650fa503ed04475c4f5 (patch)
tree2e632138a426b7ddb99b9dff9e62238a08c9f65f /llvm_mode/LLVMInsTrim.so.cc
parentae284610cf401fa9f533f553c445f003dcb70ec3 (diff)
downloadafl++-a7553eae289ccaeb9626c650fa503ed04475c4f5.tar.gz
add CFI sanitizer
Diffstat (limited to 'llvm_mode/LLVMInsTrim.so.cc')
-rw-r--r--llvm_mode/LLVMInsTrim.so.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm_mode/LLVMInsTrim.so.cc b/llvm_mode/LLVMInsTrim.so.cc
index a94eb907..c4033523 100644
--- a/llvm_mode/LLVMInsTrim.so.cc
+++ b/llvm_mode/LLVMInsTrim.so.cc
@@ -513,6 +513,7 @@ struct InsTrim : public ModulePass {
                getenv("AFL_HARDEN") ? "hardened" : "non-hardened",
                getenv("AFL_USE_ASAN") ? ", ASAN" : "",
                getenv("AFL_USE_MSAN") ? ", MSAN" : "",
+               getenv("AFL_USE_CFISAN") ? ", CFISAN" : "",
                getenv("AFL_USE_UBSAN") ? ", UBSAN" : "");
 
       OKF("Instrumented %u locations (%llu, %llu) (%s mode)\n", total_instr,