about summary refs log tree commit diff
path: root/src/afl-fuzz-bitmap.c
diff options
context:
space:
mode:
authorDominik Maier <domenukk@gmail.com>2020-04-16 17:50:08 +0200
committerDominik Maier <domenukk@gmail.com>2020-04-16 17:50:08 +0200
commit6940e136296d185391a34b5d829a759ac517594e (patch)
tree6823be896d39ee741a31a30b8afde6bdce7137fe /src/afl-fuzz-bitmap.c
parent380ff114e9a369c6b366c40a146eed37602d2620 (diff)
downloadafl++-6940e136296d185391a34b5d829a759ac517594e.tar.gz
removed redundent funcs
Diffstat (limited to 'src/afl-fuzz-bitmap.c')
-rw-r--r--src/afl-fuzz-bitmap.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/afl-fuzz-bitmap.c b/src/afl-fuzz-bitmap.c
index 6042b4b8..be8f504e 100644
--- a/src/afl-fuzz-bitmap.c
+++ b/src/afl-fuzz-bitmap.c
@@ -49,20 +49,6 @@ void write_bitmap(afl_state_t *afl) {
 
 }
 
-/* Read bitmap from file. This is for the -B option again. */
-
-void read_bitmap(afl_state_t *afl, u8 *fname) {
-
-  s32 fd = open(fname, O_RDONLY);
-
-  if (fd < 0) PFATAL("Unable to open '%s'", fname);
-
-  ck_read(fd, afl->virgin_bits, MAP_SIZE, fname);
-
-  close(fd);
-
-}
-
 /* Check if the current execution path brings anything new to the table.
    Update virgin bits to reflect the finds. Returns 1 if the only change is
    the hit-count for a particular tuple; 2 if there are new tuples seen.