about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--llvm_mode/afl-llvm-lto-instrumentation.so.cc5
-rw-r--r--src/afl-fuzz.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/llvm_mode/afl-llvm-lto-instrumentation.so.cc b/llvm_mode/afl-llvm-lto-instrumentation.so.cc
index f387e79c..28f6bf9e 100644
--- a/llvm_mode/afl-llvm-lto-instrumentation.so.cc
+++ b/llvm_mode/afl-llvm-lto-instrumentation.so.cc
@@ -517,8 +517,9 @@ bool AFLLTOPass::runOnModule(Module &M) {
       GlobalVariable *AFLFinalLoc = new GlobalVariable(
           M, Int32Ty, true, GlobalValue::ExternalLinkage, 0, "__afl_final_loc",
           0, GlobalVariable::GeneralDynamicTLSModel, 0, false);
-      ConstantInt *const_loc = ConstantInt::get(Int32Ty, (((afl_global_id + 8) >> 3) << 3));
-      StoreInst *  StoreFinalLoc = IRB.CreateStore(const_loc, AFLFinalLoc);
+      ConstantInt *const_loc =
+          ConstantInt::get(Int32Ty, (((afl_global_id + 8) >> 3) << 3));
+      StoreInst *StoreFinalLoc = IRB.CreateStore(const_loc, AFLFinalLoc);
       StoreFinalLoc->setMetadata(M.getMDKindID("nosanitize"),
                                  MDNode::get(C, None));
 
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c
index 9de80c72..836393ac 100644
--- a/src/afl-fuzz.c
+++ b/src/afl-fuzz.c
@@ -923,7 +923,8 @@ int main(int argc, char **argv_orig, char **envp) {
 
     if (afl->file_extension) {
 
-      snprintf(tmpfile, PATH_MAX, "%s/.cur_input.%s", afl->tmp_dir, afl->file_extension);
+      snprintf(tmpfile, PATH_MAX, "%s/.cur_input.%s", afl->tmp_dir,
+               afl->file_extension);
 
     } else {