From a05bd3e477a09dc8e56b18eac9c6c163a4eefd8b Mon Sep 17 00:00:00 2001 From: Andrea Fioraldi Date: Wed, 25 Dec 2019 10:42:23 +0100 Subject: code format --- qbdi_mode/template.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qbdi_mode/template.cpp') diff --git a/qbdi_mode/template.cpp b/qbdi_mode/template.cpp index 18766d31..d4ac25e3 100755 --- a/qbdi_mode/template.cpp +++ b/qbdi_mode/template.cpp @@ -114,7 +114,7 @@ void afl_maybe_log(unsigned long cur_loc) { if (afl_area_ptr == NULL) { return; } unsigned long afl_idx = cur_loc ^ afl_prev_loc; - afl_idx &= MAP_SIZE -1; + afl_idx &= MAP_SIZE - 1; INC_AFL_AREA(afl_idx); afl_prev_loc = cur_loc >> 1; @@ -123,7 +123,7 @@ void afl_maybe_log(unsigned long cur_loc) { char *read_file(char *path, unsigned long *length) { unsigned long len; - char * buf; + char * buf; FILE *fp = fopen(path, "rb"); fseek(fp, 0, SEEK_END); -- cgit 1.4.1