mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 10:38:07 +00:00
fix cmplog
This commit is contained in:
@ -28,7 +28,8 @@ sending a mail to <afl-users+subscribe@googlegroups.com>.
|
|||||||
- LTO whitelist functionality rewritten, now main, _init etc functions
|
- LTO whitelist functionality rewritten, now main, _init etc functions
|
||||||
need not to be whitelisted anymore
|
need not to be whitelisted anymore
|
||||||
- fixed crash in compare-transform-pass when strcasemp/strncasecmp was
|
- fixed crash in compare-transform-pass when strcasemp/strncasecmp was
|
||||||
tried to be instrumented
|
tried to be instrumented with LTO
|
||||||
|
- fixed crash in cmplog with LTO
|
||||||
- fixed afl-gcc/afl-as that could break on fast systems reusing pids in
|
- fixed afl-gcc/afl-as that could break on fast systems reusing pids in
|
||||||
the same second
|
the same second
|
||||||
- added lots of dictionaries from oss-fuzz, go-fuzz and Jakub Wilk
|
- added lots of dictionaries from oss-fuzz, go-fuzz and Jakub Wilk
|
||||||
|
@ -164,8 +164,10 @@ bool CmpLogRoutines::hookRtns(Module &M) {
|
|||||||
IRB.SetInsertPoint(callInst);
|
IRB.SetInsertPoint(callInst);
|
||||||
|
|
||||||
std::vector<Value *> args;
|
std::vector<Value *> args;
|
||||||
args.push_back(v1P);
|
Value * v1Pcasted = IRB.CreatePointerCast(v1P, i8PtrTy);
|
||||||
args.push_back(v2P);
|
Value * v2Pcasted = IRB.CreatePointerCast(v2P, i8PtrTy);
|
||||||
|
args.push_back(v1Pcasted);
|
||||||
|
args.push_back(v2Pcasted);
|
||||||
|
|
||||||
IRB.CreateCall(cmplogHookFn, args, "tmp");
|
IRB.CreateCall(cmplogHookFn, args, "tmp");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user