diff options
author | van Hauser <vh@thc.org> | 2023-05-23 15:16:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-23 15:16:27 +0300 |
commit | 8e1df8e53d359f2858168a276c46d1113d4102f2 (patch) | |
tree | d319dd82c99e1abf16131c9893a5106bf9b562e0 /instrumentation/cmplog-routines-pass.cc | |
parent | c4b1566ba35c697cda7822bd0cf30e2e3eeee0c7 (diff) | |
parent | 8985524d3a7e9991ededcd2e7f01a112b3107871 (diff) | |
download | afl++-8e1df8e53d359f2858168a276c46d1113d4102f2.tar.gz |
Merge pull request #1740 from AFLplusplus/dev
push to stable
Diffstat (limited to 'instrumentation/cmplog-routines-pass.cc')
-rw-r--r-- | instrumentation/cmplog-routines-pass.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/instrumentation/cmplog-routines-pass.cc b/instrumentation/cmplog-routines-pass.cc index 39db5aa4..c3fbed8d 100644 --- a/instrumentation/cmplog-routines-pass.cc +++ b/instrumentation/cmplog-routines-pass.cc @@ -542,7 +542,7 @@ bool CmpLogRoutines::hookRtns(Module &M) { Value *v1Pcasted = IRB.CreatePointerCast(v1P, i8PtrTy); Value *v2Pcasted = IRB.CreatePointerCast(v2P, i8PtrTy); Value *v3Pbitcast = IRB.CreateBitCast( - v3P, IntegerType::get(C, v3P->getType()->getPrimitiveSizeInBits())); + v3P, IntegerType::get(C, v3P->getType()->getPrimitiveSizeInBits())); Value *v3Pcasted = IRB.CreateIntCast(v3Pbitcast, IntegerType::get(C, 64), false); args.push_back(v1Pcasted); @@ -608,7 +608,7 @@ bool CmpLogRoutines::hookRtns(Module &M) { Value *v1Pcasted = IRB.CreatePointerCast(v1P, i8PtrTy); Value *v2Pcasted = IRB.CreatePointerCast(v2P, i8PtrTy); Value *v3Pbitcast = IRB.CreateBitCast( - v3P, IntegerType::get(C, v3P->getType()->getPrimitiveSizeInBits())); + v3P, IntegerType::get(C, v3P->getType()->getPrimitiveSizeInBits())); Value *v3Pcasted = IRB.CreateIntCast(v3Pbitcast, IntegerType::get(C, 64), false); args.push_back(v1Pcasted); |