Skip to content

Commit 701e89b

Browse files
committed
fixes
1 parent 464ec51 commit 701e89b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

docs/Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
- new compile time variable: `AFL_OPT_LEVEL` to set a specific optimization
4242
level, default is `3`
4343
- correctly explain how to get the correct map size for large targets
44+
- small fix weird LLVM defines in redhat
4445
- code formatting updated to llvm 18
4546
- improved custom_mutators/aflpp/standalone/aflpp-standalone
4647
- added custom_mutators/autotokens/standalone/autotokens-standalone

instrumentation/SanitizerCoveragePCGUARD.so.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ Function *ModuleSanitizerCoverageAFL::CreateInitCallsForSections(
310310
Type *PtrTy = PointerType::getUnqual(Ty);
311311
std::tie(CtorFunc, std::ignore) = createSanitizerCtorAndInitFunctions(
312312
M, CtorName, InitFunctionName, {PtrTy, PtrTy}, {SecStart, SecEnd});
313-
assert(CtorFunc->getName() == CtorName);
313+
// assert(CtorFunc->getName() == CtorName);
314314

315315
if (TargetTriple.supportsCOMDAT()) {
316316

test/test-gcc-plugin.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ test -e ../afl-gcc-fast -a -e ../afl-compiler-rt.o && {
1919
} || {
2020
$ECHO "$GREEN[+] gcc_plugin instrumentation present and working correctly"
2121
TUPLES=`echo 0|AFL_QUIET=1 ../afl-showmap -m ${MEM_LIMIT} -o /dev/null -- ./test-instr.plain.gccpi 2>&1 | grep Captur | awk '{print$3}'`
22-
test "$TUPLES" -gt 1 -a "$TUPLES" -lt 9 && {
22+
test "$TUPLES" -gt 1 -a "$TUPLES" -lt 10 && {
2323
$ECHO "$GREEN[+] gcc_plugin run reported $TUPLES instrumented locations which is fine"
2424
} || {
2525
$ECHO "$RED[!] gcc_plugin instrumentation produces a weird numbers: $TUPLES"

0 commit comments

Comments
 (0)