lifting-bits / remill

Library for lifting machine code to LLVM bitcode
Apache License 2.0
1.27k stars 143 forks source link

Instruction category for indirect jump & function return #503

Closed kumarak closed 3 years ago

kumarak commented 3 years ago

The PR reverts some of the changes that identify the updates of PC with the return address. All instructions updating PC directly with LR (return address) are categorized as return type. Others get categorized as indirect Jump. At a later stage, the lifter will identify if the return address ends up getting into PC and handle them accordingly.