Displaying 1 result from an estimated 1 matches for "cee9de01".
2018 Aug 09
3
Replace "ret" with "pop+jump"
Hi
I want to replace all the return instructions in the program with pop
<reg>; jmp <reg>.
Should I use IRBuilder in LLVM IR level?
I found that there is a IRBuilder::CreateIndirectBr
Or Should I modify the code in lib/Target/X86/X86ISelLowering.cpp in
backend ?
I found that there is a X86TargetLowering::LowerCall
Which is better?
Thanks
-------------- next part --------------