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>
gotoTargetsInBody
first 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 Unit
getBlockEntryPoint(String blockName)
void
putBlockEntryPoint(String blockName, Unit entryUnit)
void
swapGotoEntriesInJBody(Body jb)
After producing Jimple Body, swap all target branches (label to stmt)void
swapGotoEntryUnit(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
-
-
-