Fix typos,

Use symbolize=0 for LSAN,
Remove syntactic sugar.
This commit is contained in:
Joshua Rogers
2021-04-03 14:50:35 +00:00
parent 6514e33ab6
commit afc4da47f7
8 changed files with 17 additions and 13 deletions

View File

@ -758,7 +758,7 @@ static void edit_params(u32 argc, char **argv, char **envp) {
if (!strncmp(cur, "-fsanitize-coverage-", 20) && strstr(cur, "list="))
have_instr_list = 1;
if (!(strcmp(cur, "-fsanitize=address") && strcmp(cur, "-fsanitize=memory")))
if (!strcmp(cur, "-fsanitize=address") || !strcmp(cur, "-fsanitize=memory"))
asan_set = 1;
if (strstr(cur, "FORTIFY_SOURCE")) fortify_set = 1;