mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-19 21:13:45 +00:00
fixes
This commit is contained in:
@ -41,6 +41,7 @@
|
|||||||
- new compile time variable: `AFL_OPT_LEVEL` to set a specific optimization
|
- new compile time variable: `AFL_OPT_LEVEL` to set a specific optimization
|
||||||
level, default is `3`
|
level, default is `3`
|
||||||
- correctly explain how to get the correct map size for large targets
|
- correctly explain how to get the correct map size for large targets
|
||||||
|
- small fix weird LLVM defines in redhat
|
||||||
- code formatting updated to llvm 18
|
- code formatting updated to llvm 18
|
||||||
- improved custom_mutators/aflpp/standalone/aflpp-standalone
|
- improved custom_mutators/aflpp/standalone/aflpp-standalone
|
||||||
- added custom_mutators/autotokens/standalone/autotokens-standalone
|
- added custom_mutators/autotokens/standalone/autotokens-standalone
|
||||||
|
@ -310,7 +310,7 @@ Function *ModuleSanitizerCoverageAFL::CreateInitCallsForSections(
|
|||||||
Type *PtrTy = PointerType::getUnqual(Ty);
|
Type *PtrTy = PointerType::getUnqual(Ty);
|
||||||
std::tie(CtorFunc, std::ignore) = createSanitizerCtorAndInitFunctions(
|
std::tie(CtorFunc, std::ignore) = createSanitizerCtorAndInitFunctions(
|
||||||
M, CtorName, InitFunctionName, {PtrTy, PtrTy}, {SecStart, SecEnd});
|
M, CtorName, InitFunctionName, {PtrTy, PtrTy}, {SecStart, SecEnd});
|
||||||
assert(CtorFunc->getName() == CtorName);
|
// assert(CtorFunc->getName() == CtorName);
|
||||||
|
|
||||||
if (TargetTriple.supportsCOMDAT()) {
|
if (TargetTriple.supportsCOMDAT()) {
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ test -e ../afl-gcc-fast -a -e ../afl-compiler-rt.o && {
|
|||||||
} || {
|
} || {
|
||||||
$ECHO "$GREEN[+] gcc_plugin instrumentation present and working correctly"
|
$ECHO "$GREEN[+] gcc_plugin instrumentation present and working correctly"
|
||||||
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}'`
|
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}'`
|
||||||
test "$TUPLES" -gt 1 -a "$TUPLES" -lt 9 && {
|
test "$TUPLES" -gt 1 -a "$TUPLES" -lt 10 && {
|
||||||
$ECHO "$GREEN[+] gcc_plugin run reported $TUPLES instrumented locations which is fine"
|
$ECHO "$GREEN[+] gcc_plugin run reported $TUPLES instrumented locations which is fine"
|
||||||
} || {
|
} || {
|
||||||
$ECHO "$RED[!] gcc_plugin instrumentation produces a weird numbers: $TUPLES"
|
$ECHO "$RED[!] gcc_plugin instrumentation produces a weird numbers: $TUPLES"
|
||||||
|
Reference in New Issue
Block a user