mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-19 21:13:45 +00:00
fix fcmp
This commit is contained in:
@ -1070,7 +1070,7 @@ bool ModuleSanitizerCoverageAFL::InjectCoverage(
|
|||||||
|
|
||||||
} else if ((fcmp = dyn_cast<FCmpInst>(&IN))) {
|
} else if ((fcmp = dyn_cast<FCmpInst>(&IN))) {
|
||||||
|
|
||||||
if (!icmp->getType()->isIntegerTy(1)) { continue; }
|
if (!fcmp->getType()->isIntegerTy(1)) { continue; }
|
||||||
|
|
||||||
auto res = fcmp;
|
auto res = fcmp;
|
||||||
auto GuardPtr1 = IRB.CreateInBoundsGEP(
|
auto GuardPtr1 = IRB.CreateInBoundsGEP(
|
||||||
@ -1370,13 +1370,13 @@ bool ModuleSanitizerCoverageAFL::InjectCoverage(
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
if (verifyFunction(F, &errs())) {
|
if (verifyFunction(F, &errs())) {
|
||||||
|
|
||||||
errs() << "Broken function after instrumentation\n";
|
errs() << "Broken function after instrumentation\n";
|
||||||
F.print(errs(), nullptr);
|
F.print(errs(), nullptr);
|
||||||
report_fatal_error("Invalid IR");
|
report_fatal_error("Invalid IR");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user