diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2019-12-25 10:42:23 +0100 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2019-12-25 10:42:23 +0100 |
commit | a05bd3e477a09dc8e56b18eac9c6c163a4eefd8b (patch) | |
tree | af4459e5353ef54bee7088121591f071b65e6b43 /qbdi_mode/template.cpp | |
parent | 9ed4bfbca86ee6ff923e47deca0ebd5ae7a08b77 (diff) | |
download | afl++-a05bd3e477a09dc8e56b18eac9c6c163a4eefd8b.tar.gz |
code format
Diffstat (limited to 'qbdi_mode/template.cpp')
-rwxr-xr-x | qbdi_mode/template.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |