| Package | Description |
|---|---|
| org.evosuite.graphs.cdg | |
| org.evosuite.graphs.cfg |
| Modifier and Type | Method and Description |
|---|---|
Set<BasicBlock> |
ControlDependenceGraph.getAlternativeBlocks(ControlDependency dependency)
getAlternativeBlocks
|
| Modifier and Type | Method and Description |
|---|---|
Set<ControlDependency> |
ControlDependenceGraph.getControlDependentBranches(BasicBlock insBlock)
Returns a Set containing all Branches the given BasicBlock is control
dependent on.
|
Set<Integer> |
ControlDependenceGraph.getControlDependentBranchIds(BasicBlock ins)
getControlDependentBranchIds
|
boolean |
ControlDependenceGraph.isAdjacentToEntryBlock(BasicBlock insBlock)
Returns true if the given BasicBlock has an incoming edge from this CDG's
EntryBlock or is itself the EntryBlock
|
boolean |
ControlDependenceGraph.isDirectlyControlDependentOn(BasicBlock insBlock,
Branch b)
Determines whether the given BasicBlock is directly control dependent on
the given Branch.
|
boolean |
ControlDependenceGraph.isRootDependent(BasicBlock insBlock)
Checks whether the given basicBlock is dependent on the root branch of
it's method
This is the case if the BasicBlock of the given instruction is directly
adjacent to the EntryBlock
|
| Modifier and Type | Class and Description |
|---|---|
class |
EntryBlock |
class |
ExitBlock |
| Modifier and Type | Method and Description |
|---|---|
BasicBlock |
RawControlFlowGraph.determineBasicBlockFor(BytecodeInstruction instruction)
determineBasicBlockFor
|
BasicBlock |
BytecodeInstruction.getBasicBlock()
Return's the BasicBlock that contain's this instruction in it's CFG.
|
BasicBlock |
ActualControlFlowGraph.getBlockOf(BytecodeInstruction instruction)
If the given instruction is known to this graph, the BasicBlock holding
that instruction is returned.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ActualControlFlowGraph.addBlock(BasicBlock nodeBlock)
addBlock
|
protected void |
ActualControlFlowGraph.addRawEdge(BasicBlock src,
BasicBlock target,
ControlFlowEdge origEdge)
addRawEdge
|
protected void |
ActualControlFlowGraph.addRawEdge(BasicBlock src,
BytecodeInstruction target,
ControlFlowEdge origEdge)
addRawEdge
|
protected void |
ActualControlFlowGraph.addRawEdge(BytecodeInstruction src,
BasicBlock target,
ControlFlowEdge origEdge)
addRawEdge
|
boolean |
ActualControlFlowGraph.isEntryPoint(BasicBlock block)
isEntryPoint
|
boolean |
ActualControlFlowGraph.isExitPoint(BasicBlock block)
isExitPoint
|
void |
BytecodeInstruction.setBasicBlock(BasicBlock block)
Once the CFG has been asked for this instruction's BasicBlock it sets
this instance's internal basicBlock field.
|
| Constructor and Description |
|---|
BytecodeInstruction(ClassLoader classLoader,
String className,
String methodName,
int instructionId,
int bytecodeOffset,
org.objectweb.asm.tree.AbstractInsnNode asmNode,
int lineNumber,
BasicBlock basicBlock)
Constructor for BytecodeInstruction.
|
Copyright © 2010–2017 EvoSuite. All rights reserved.