diff options
author | vanhauser-thc <vh@thc.org> | 2023-04-21 15:21:11 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2023-04-21 15:21:11 +0200 |
commit | 7a8d0a10ce25d20bdd2021920b0b5ebbc0d3f3a6 (patch) | |
tree | bffd101952bfab5dd8a0f1c32dbc8c40cc484cb4 /src | |
parent | 369ec31f0e1a40f5e617265fc199676175d36814 (diff) | |
download | afl++-7a8d0a10ce25d20bdd2021920b0b5ebbc0d3f3a6.tar.gz |
add dummy functions to afl-showmap for old gcc compilers
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-showmap.c | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/src/afl-showmap.c b/src/afl-showmap.c index affad7d6..0b9fc211 100644 --- a/src/afl-showmap.c +++ b/src/afl-showmap.c @@ -140,7 +140,7 @@ static void kill_child() { } -/* dummy function */ +/* dummy functions */ u32 write_to_testcase(afl_state_t *afl, void **mem, u32 a, u32 b) { (void)afl; @@ -149,7 +149,30 @@ u32 write_to_testcase(afl_state_t *afl, void **mem, u32 a, u32 b) { } -static void classify_counts(afl_forkserver_t *fsrv) { +void show_stats(afl_state_t *afl) { + + (void)afl; + +} + +void update_bitmap_score(afl_state_t *afl, struct queue_entry *q) { + + (void)afl; + (void)q; + +} + +fsrv_run_result_t fuzz_run_target(afl_state_t *afl, afl_forkserver_t *fsrv, + u32 i) { + + (void)afl; + (void)fsrv; + (void)i; + return 0; + +} + +void classify_counts(afl_forkserver_t *fsrv) { u8 *mem = fsrv->trace_bits; const u8 *map = binary_mode ? count_class_binary : count_class_human; |