Package com.tonic.analysis.ssa.llvm.lift
Class LlvmLifter
- java.lang.Object
-
- com.tonic.analysis.ssa.llvm.lift.LlvmLifter
-
public final class LlvmLifter extends Object
Entry point for lifting textual LLVM IR back to YABR SSA IR, invertingLlvmLowering.
-
-
Constructor Summary
Constructors Constructor Description LlvmLifter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IRMethodlift(String llvmModuleText)Lifts the firstdefinefunction found inllvmModuleText.List<IRMethod>liftModule(String llvmModuleText)Lifts alldefinefunctions inllvmModuleTextand returns them in order.
-
-
-
Method Detail
-
lift
public IRMethod lift(String llvmModuleText)
Lifts the firstdefinefunction found inllvmModuleText.- Parameters:
llvmModuleText- the textual LLVM IR module- Returns:
- the first function as an IRMethod
- Throws:
LlvmLiftException- if the module defines no function
-
-