aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2023-04-21 15:09:35 +0200
committervanhauser-thc <vh@thc.org>2023-04-21 15:09:35 +0200
commit0a297ed9ef48c1eaf69fdc13bd1016f8f29124be (patch)
tree5fbad915730159bd9905b509b681ee02fa46cfc3
parent4e5f42cab6b8c501eeaf76ec7ca920089f6e0f3a (diff)
downloadAFLplusplus-0a297ed9ef48c1eaf69fdc13bd1016f8f29124be.tar.gz
dummy function for afl-showmap
-rw-r--r--src/afl-showmap.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/afl-showmap.c b/src/afl-showmap.c
index b5a61de5..affad7d6 100644
--- a/src/afl-showmap.c
+++ b/src/afl-showmap.c
@@ -140,6 +140,15 @@ static void kill_child() {
}
+/* dummy function */
+u32 write_to_testcase(afl_state_t *afl, void **mem, u32 a, u32 b) {
+
+ (void)afl;
+ (void)mem;
+ return a + b;
+
+}
+
static void classify_counts(afl_forkserver_t *fsrv) {
u8 *mem = fsrv->trace_bits;