add afl-addseeds tool

This commit is contained in:
vanhauser-thc
2023-09-30 12:42:40 +02:00
parent d6b6278cb4
commit 6b73dee7da
4 changed files with 62 additions and 1 deletions

View File

@ -1346,6 +1346,12 @@ int main(int argc, char **argv_orig, char **envp) {
}
if (strcmp(afl->sync_id, "addseeds") == 0) {
FATAL("-M/-S name 'addseeds' is a reserved name, choose something else");
}
if (afl->is_main_node == 1 && afl->schedule != FAST &&
afl->schedule != EXPLORE) {