mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-16 20:08:07 +00:00
make some really weird targets compile
This commit is contained in:
@ -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;
|
||||||
|
|
||||||
|
@ -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) {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user