diff options
author | yangzao <yangzaocn@outlook.com> | 2023-11-24 11:06:06 -0700 |
---|---|---|
committer | yangzao <yangzaocn@outlook.com> | 2023-11-24 11:06:06 -0700 |
commit | 770e868d04c0f52a1c57e5471e459dd24a002748 (patch) | |
tree | 3a7e42ea3385ce941839caa759b8c2da03356b83 /src/afl-fuzz-run.c | |
parent | d6cefdc1936fc0c312670469502d8ba9208530a3 (diff) | |
download | afl++-770e868d04c0f52a1c57e5471e459dd24a002748.tar.gz |
add custom_post_run.c
Diffstat (limited to 'src/afl-fuzz-run.c')
-rw-r--r-- | src/afl-fuzz-run.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afl-fuzz-run.c b/src/afl-fuzz-run.c index ac4fb4a9..29cc5352 100644 --- a/src/afl-fuzz-run.c +++ b/src/afl-fuzz-run.c @@ -60,6 +60,8 @@ fuzz_run_target(afl_state_t *afl, afl_forkserver_t *fsrv, u32 timeout) { fsrv_run_result_t res = afl_fsrv_run_target(fsrv, timeout, &afl->stop_soon); + + #ifdef PROFILING clock_gettime(CLOCK_REALTIME, &spec); time_spent_start = (spec.tv_sec * 1000000000) + spec.tv_nsec; |