Displaying 2 results from an estimated 2 matches for "simplifyxorinst".
2011 Jul 20
2
[LLVMdev] Question about SimplifyXorInst
...I am doing my MSc project with
LLVM compiler and I have to modify LLVM to implement the StackGuard
with a XOR random Canary. However, I am not familiar with LLVM.
My problem is that I want to XOR the random canary word with the
return address which are both 32 bits. I found a method called
SimplifyXorInst(Value *, Value *, const TargetData *,const
DominatorTree *, unsigned) but I do not know whether it is right
method and how to use it. Could you give me some advice or sample code
about it?
Thank you
Best wishes,
Ying
--
The University of Edinburgh is a charitable body, registered in
Scotla...
2011 Jul 20
0
[LLVMdev] Question about SimplifyXorInst
.... I am doing my MSc project with
LLVM compiler and I
have to modify LLVM to implement the StackGuard with a XOR random
Canary. However, I am
not familiar with LLVM.
My problem is that I want to XOR the random canary word with the
return address which are
both 32 bits. I found a method called SimplifyXorInst(Value *, Value
*, const TargetData
*,const DominatorTree *, unsigned) but I do not know whether it is
right method and how
to use it. Could you give me some advice or sample code about it?
Thank you
Best wishes,
Ying
--
The University of Edinburgh is a charitable body, registered in
Scotlan...