diff options
author | Edznux <edznux@gmail.com> | 2020-09-17 01:29:09 +0200 |
---|---|---|
committer | Edznux <edznux@gmail.com> | 2020-09-17 01:29:09 +0200 |
commit | 4561a9590fc9a8c9ef3676b119f04c2e6d0794c0 (patch) | |
tree | 2ff1c8ccad70e6dc0ca029caa10b25d63b8d22a8 /src/afl-fuzz-run.c | |
parent | ee206da3897fd2d9f72206c3c5ea0e3fab109001 (diff) | |
download | afl++-4561a9590fc9a8c9ef3676b119f04c2e6d0794c0.tar.gz |
WIP. basic state working: submitting statsd metrics (path, crashes, hangs)
Diffstat (limited to 'src/afl-fuzz-run.c')
-rw-r--r-- | src/afl-fuzz-run.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/afl-fuzz-run.c b/src/afl-fuzz-run.c index d71ec339..8dc0b334 100644 --- a/src/afl-fuzz-run.c +++ b/src/afl-fuzz-run.c @@ -901,7 +901,10 @@ common_fuzz_stuff(afl_state_t *afl, u8 *out_buf, u32 len) { afl->stage_cur + 1 == afl->stage_max) { show_stats(afl); - + if(send_statsd_metric(afl)){ + //Change me to something realistic; don't fail on connection / lookup fail for metrics... + exit(1); + } } return 0; |