diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2020-02-16 13:21:39 +0100 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2020-02-16 13:21:39 +0100 |
commit | ef00ed6090cf6890434b203248b4f7892a01feca (patch) | |
tree | a2070cd1124b13db381f60abdfc61fb99bdd66dc /llvm_mode/LLVMInsTrim.so.cc | |
parent | 8acd503526eda9d8c87374d8cf570aeac54ced73 (diff) | |
download | afl++-ef00ed6090cf6890434b203248b4f7892a01feca.tar.gz |
code format
Diffstat (limited to 'llvm_mode/LLVMInsTrim.so.cc')
-rw-r--r-- | llvm_mode/LLVMInsTrim.so.cc | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/llvm_mode/LLVMInsTrim.so.cc b/llvm_mode/LLVMInsTrim.so.cc index 9f5bf2a7..995a7217 100644 --- a/llvm_mode/LLVMInsTrim.so.cc +++ b/llvm_mode/LLVMInsTrim.so.cc @@ -481,20 +481,11 @@ struct InsTrim : public ModulePass { } char modeline[100]; - snprintf(modeline, sizeof(modeline), "%s%s%s%s", - getenv("AFL_HARDEN") - ? "hardened" - : "non-hardened", - getenv("AFL_USE_ASAN") - ? ", ASAN" - : "", - getenv("AFL_USE_MSAN") - ? ", MSAN" - : "", - getenv("AFL_USE_UBSAN") - ? ", UBSAN" - : "" - ); + snprintf(modeline, sizeof(modeline), "%s%s%s%s", + getenv("AFL_HARDEN") ? "hardened" : "non-hardened", + getenv("AFL_USE_ASAN") ? ", ASAN" : "", + getenv("AFL_USE_MSAN") ? ", MSAN" : "", + getenv("AFL_USE_UBSAN") ? ", UBSAN" : ""); OKF("Instrumented %u locations (%llu, %llu) (%s mode)\n", total_instr, total_rs, total_hs, modeline); |