Skip to content

Commit bf09da6

Browse files
committed
fast resume fix
1 parent 9159aec commit bf09da6

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

docs/Changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- Fix potential sync issues when resuming sessions and when instances in a
1414
campaign are restarted and skip entries that were synced from itself
1515
(thanks to @kcwu for raising the issues and providing support!)
16+
- Fix for when fast resuming failed
1617
- more 64 bit archicture support by @maribu
1718
- afl-cc:
1819
- Added instrumenting hidden edges (approx 5% edges were not instrumented,
@@ -31,6 +32,8 @@
3132
afl-cmin if it executes successfully (thanks to @kcwu!)
3233
- New desocketing library: utils/libaflppdesock
3334
- Likely works when all other desocketing options fail
35+
- nyx_mode:
36+
- Properly determine map size
3437

3538

3639
### Version ++4.32c (release)

src/afl-fuzz.c

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2862,6 +2862,26 @@ int main(int argc, char **argv_orig, char **envp) {
28622862
afl->reinit_table = 1;
28632863
update_calibration_time(afl, &resume_start);
28642864

2865+
if (afl->fsrv.cmplog_binary &&
2866+
afl->fsrv.init_child_func != cmplog_exec_child) {
2867+
2868+
FATAL("BUG in afl-fuzz detected. Cmplog mode not set correctly.");
2869+
2870+
}
2871+
2872+
afl_fsrv_start(&afl->fsrv, afl->argv, &afl->stop_soon,
2873+
afl->afl_env.afl_debug_child);
2874+
2875+
if (afl->fsrv.support_shmem_fuzz && !afl->fsrv.use_shmem_fuzz) {
2876+
2877+
afl_shm_deinit(afl->shm_fuzz);
2878+
ck_free(afl->shm_fuzz);
2879+
afl->shm_fuzz = NULL;
2880+
afl->fsrv.support_shmem_fuzz = 0;
2881+
afl->fsrv.shmem_fuzz = NULL;
2882+
2883+
}
2884+
28652885
} else {
28662886

28672887
// after we have the correct bitmap size we can read the bitmap -B option

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy