make some really weird targets compile

This commit is contained in:
van Hauser
2021-02-01 20:00:29 +01:00
parent ba7bf99235
commit b9f469e12f
2 changed files with 1 additions and 1 deletions

View File

@ -689,6 +689,7 @@ static void edit_params(u32 argc, char **argv, char **envp) {
if (lto_mode && !strncmp(cur, "-fuse-ld=", 9)) continue; if (lto_mode && !strncmp(cur, "-fuse-ld=", 9)) continue;
if (lto_mode && !strncmp(cur, "--ld-path=", 10)) continue; if (lto_mode && !strncmp(cur, "--ld-path=", 10)) continue;
if (!strncmp(cur, "-fno-unroll", 11)) continue; if (!strncmp(cur, "-fno-unroll", 11)) continue;
if (strstr(cur, "afl-compiler-rt") || strstr(cur, "afl-llvm-rt")) continue;
if (!strcmp(cur, "-Wl,-z,defs") || !strcmp(cur, "-Wl,--no-undefined")) if (!strcmp(cur, "-Wl,-z,defs") || !strcmp(cur, "-Wl,--no-undefined"))
continue; continue;

View File

@ -1596,7 +1596,6 @@ int main(int argc, char **argv_orig, char **envp) {
u32 new_map_size = u32 new_map_size =
afl_fsrv_get_mapsize(&afl->cmplog_fsrv, afl->argv, &afl->stop_soon, afl_fsrv_get_mapsize(&afl->cmplog_fsrv, afl->argv, &afl->stop_soon,
afl->afl_env.afl_debug_child); afl->afl_env.afl_debug_child);
printf("NEW MAP SIZE2 %u (is %u)\n", new_map_size, map_size);
if (new_map_size && new_map_size != 4194304) { if (new_map_size && new_map_size != 4194304) {