Merge pull request #88 from domenukk/unicorn_nowarn

No Longer Warns for Absolute Binaries for Unicorn
This commit is contained in:
Andrea Fioraldi 2019-10-26 09:25:52 +02:00 committed by GitHub
commit a1f7de2bc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -554,7 +554,7 @@ int main(int argc, char** argv) {
if (getenv("AFL_NO_UI") && getenv("AFL_FORCE_UI"))
FATAL("AFL_NO_UI and AFL_FORCE_UI are mutually exclusive");
if (strchr(argv[optind], '/') == NULL)
if (strchr(argv[optind], '/') == NULL && !unicorn_mode)
WARNF(cLRD
"Target binary called without a prefixed path, make sure you are "
"fuzzing the right binary: " cRST "%s",