Use less verbose / operator instead of DirSep

This commit is contained in:
kdeme 2019-10-02 13:11:07 +02:00 committed by zah
parent 2a0793ce60
commit eb4aee0260
1 changed files with 2 additions and 4 deletions

View File

@ -83,13 +83,11 @@ proc runFuzzer*(targetPath: string, fuzzer: Fuzzer) =
case fuzzer
of afl:
aflCompile(targetPath, gcc)
aflExec(path & DirSep & target,
path & DirSep & "input",
path & DirSep & "results")
aflExec(path / target, path / "input", path / "results")
of libFuzzer:
libFuzzerCompile(targetPath)
# Note: Lets not mix afl input with libFuzzer corpus default. This can have
# consequences on speed for afl. Better to look into merging afl results &
# libFuzzer corpus.
libFuzzerExec(path & DirSep & target, path & DirSep & "corpus")
libFuzzerExec(path / target, path / "corpus")