making 'CFLAGS="-m32" make source-only tests' work

This commit is contained in:
hexcoder-
2020-03-28 09:31:30 +01:00
parent a0dec909e7
commit 4ad885001a
7 changed files with 17 additions and 7 deletions

View File

@ -587,7 +587,7 @@ bool AFLCoverage::runOnModule(Module &M) {
else {
char modeline[100];
snprintf(modeline, sizeof(modeline), "%s%s%s%s",
snprintf(modeline, sizeof(modeline), "%s%s%s%s%s",
getenv("AFL_HARDEN") ? "hardened" : "non-hardened",
getenv("AFL_USE_ASAN") ? ", ASAN" : "",
getenv("AFL_USE_MSAN") ? ", MSAN" : "",