Package soot.dotnet.members.method
Class BlockEntryPointsManager
- java.lang.Object
-
- soot.dotnet.members.method.BlockEntryPointsManager
-
public class BlockEntryPointsManager extends Object
Part of DotnetBody Manager for entry points (leave, branch instructions) ILSpy AST Blocks are labeled with a string. Strings are stored and replaced afterwards with the right JimpleStmt
-
-
Field Summary
Fields Modifier and Type Field Description HashMap<Unit,String>gotoTargetsInBodyfirst goto targets are nop stmts, mapped to the real entry point string_names.
-
Constructor Summary
Constructors Constructor Description BlockEntryPointsManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnitgetBlockEntryPoint(String blockName)voidputBlockEntryPoint(String blockName, Unit entryUnit)voidswapGotoEntriesInJBody(Body jb)After producing Jimple Body, swap all target branches (label to stmt)voidswapGotoEntryUnit(Unit in, Unit out)Swap two elements (out of the chain)
-
-
-
Method Detail
-
swapGotoEntriesInJBody
public void swapGotoEntriesInJBody(Body jb)
After producing Jimple Body, swap all target branches (label to stmt)- Parameters:
jb-
-
-