Skip to content

Commit

Permalink
Merged revision(s) 20651 from trunk/OpenMPT:
Browse files Browse the repository at this point in the history
[Var] Fuzzing: AFL_HARDEN and ASan are not compatible in v4.10c.
........
Merged revision(s) 20695-20696 from trunk/OpenMPT:
[Imp] Enable host-specific performance optimizations in afl++.
........
[Var] Update fuzzer dictionary.
........



git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.30@20766 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
sagamusix committed May 11, 2024
1 parent ec5b7cc commit 33fc538
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions contrib/fuzzing/all_formats.dict
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ amf="ASYLUM Music Format V1.0\x00"
amf="AMF\x0A"

ams="Extreme"
ams="AMShdr\x1A\x02\x02"
ams="AMShdr\x1A\x00\x02\x02"

#dbm="DBM0"
dbm="NAME"
Expand Down Expand Up @@ -49,7 +49,7 @@ far="\x0D\x0A\x1A"
fmt="FMTracker\x01\x01"

gdm="GDM\xFE"
gdm="GMFS"
gdm="\x0D\x0A\x1AGMFS\x01\x00"

imf="IM10"
imf="IS10"
Expand Down Expand Up @@ -202,7 +202,7 @@ psm16="PSAH"
psm16="PPAT"

ptm="PTMF"
ptm="\x1A\x03\x02"
ptm="\x1A\x03\x02\x00"

s3m="SCRM"
#s3m="SCRS"
Expand Down
2 changes: 1 addition & 1 deletion contrib/fuzzing/build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "${0%/*}"
cd ../..
AFL_HARDEN=1 CONFIG=afl make clean all EXAMPLES=0 TEST=0 OPENMPT123=0 NO_VORBIS=1 NO_VORBISFILE=1 NO_MPG123=1 CHECKED_ADDRESS=1
AFL_USE_ASAN=1 CONFIG=afl make clean all EXAMPLES=0 TEST=0 OPENMPT123=0 NO_VORBIS=1 NO_VORBISFILE=1 NO_MPG123=1 CHECKED_ADDRESS=1
2 changes: 1 addition & 1 deletion contrib/fuzzing/get-afl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ wget $AFL_URL || exit
tar -xzvf $AFL_FILENAME
rm $AFL_FILENAME
cd AFLplusplus-*
make source-only || exit
make PERFORMANCE=1 source-only || exit
cd ..
rm -rf afl
mv AFLplusplus-* afl

0 comments on commit 33fc538

Please sign in to comment.