public final class ProgramUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static Graph |
buildControlFlowGraph(Program program) |
static Graph |
buildControlFlowGraphWithTryCatch(Program program) |
static Program |
copy(ProgramReader program) |
static List<Instruction> |
copyInstructions(BasicBlockReader block,
int from,
int to,
Program target) |
static List<Phi> |
copyPhis(BasicBlockReader block,
Program target) |
static List<TryCatchBlock> |
copyTryCatches(BasicBlockReader block,
Program target) |
static Map<InstructionLocation,InstructionLocation[]> |
getLocationCFG(Program program) |
public static Graph buildControlFlowGraphWithTryCatch(Program program)
public static Map<InstructionLocation,InstructionLocation[]> getLocationCFG(Program program)
public static Program copy(ProgramReader program)
public static List<Instruction> copyInstructions(BasicBlockReader block, int from, int to, Program target)
public static List<Phi> copyPhis(BasicBlockReader block, Program target)
public static List<TryCatchBlock> copyTryCatches(BasicBlockReader block, Program target)
Copyright © 2015. All rights reserved.