Frameworks like mcsema is used to convert an executable file into LLVM bitcode which can be further used to perform program analysis.

Is there any way to convert an object file in the similar way?


Certainly, there are at least two ways I can think of:

  • Add support for object file parsing to McSema

  • Link the object file into a dummy executable and parse that.

You could also write your own lifter to llvm IR that works on object files :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.