mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-17 12:18:08 +00:00
fix cmplog
This commit is contained in:
@ -164,8 +164,10 @@ bool CmpLogRoutines::hookRtns(Module &M) {
|
||||
IRB.SetInsertPoint(callInst);
|
||||
|
||||
std::vector<Value *> args;
|
||||
args.push_back(v1P);
|
||||
args.push_back(v2P);
|
||||
Value * v1Pcasted = IRB.CreatePointerCast(v1P, i8PtrTy);
|
||||
Value * v2Pcasted = IRB.CreatePointerCast(v2P, i8PtrTy);
|
||||
args.push_back(v1Pcasted);
|
||||
args.push_back(v2Pcasted);
|
||||
|
||||
IRB.CreateCall(cmplogHookFn, args, "tmp");
|
||||
|
||||
|
Reference in New Issue
Block a user