skip large files, dont bail

This commit is contained in:
van Hauser
2020-07-23 14:17:29 +02:00
parent d90328f6be
commit 2ba88dcd8a
2 changed files with 5 additions and 2 deletions

View File

@ -2,6 +2,8 @@
## Roadmap 2.67+
- pre_save custom module example to save away test cases
- expand on AFL_LLVM_INSTRUMENT_FILE to also support sancov allowlist format
- allow to sync against honggfuzz and libfuzzer
- AFL_MAP_SIZE for qemu_mode and unicorn_mode
- namespace for targets? e.g. network

View File

@ -527,9 +527,10 @@ void read_testcases(afl_state_t *afl) {
if (st.st_size > MAX_FILE) {
FATAL("Test case '%s' is too big (%s, limit is %s)", fn2,
WARNF("Test case '%s' is too big (%s, limit is %s), skipping", fn2,
stringify_mem_size(val_buf[0], sizeof(val_buf[0]), st.st_size),
stringify_mem_size(val_buf[1], sizeof(val_buf[1]), MAX_FILE));
continue;
}