public final class DexCFG.BasicBlock extends com.ibm.wala.util.graph.impl.NodeWithNumber implements com.ibm.wala.cfg.IBasicBlock<Instruction>
| Constructor and Description |
|---|
BasicBlock(int startIndex) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addExceptionalEdges(Instruction last)
Add any exceptional edges generated by the last instruction in a basic block.
|
boolean |
equals(Object o) |
int |
getFirstInstructionIndex() |
Collection<com.ibm.wala.types.TypeReference> |
getImplicitExceptionTypes(Instruction pei) |
int |
getLastInstructionIndex() |
com.ibm.wala.classLoader.IMethod |
getMethod() |
int |
getNumber() |
int |
hashCode() |
boolean |
isCatchBlock() |
boolean |
isEntryBlock() |
boolean |
isExitBlock() |
Iterator<Instruction> |
iterator() |
String |
toString() |
getGraphNodeId, setGraphNodeIdclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetGraphNodeId, setGraphNodeIdforEach, spliteratorpublic boolean isCatchBlock()
isCatchBlock in interface com.ibm.wala.cfg.IBasicBlock<Instruction>protected void addExceptionalEdges(Instruction last)
last - the last instruction in a basic block.public Collection<com.ibm.wala.types.TypeReference> getImplicitExceptionTypes(Instruction pei)
pei - a potentially-excepting instructionIllegalArgumentException - if pei is nullpublic int getLastInstructionIndex()
getLastInstructionIndex in interface com.ibm.wala.cfg.IBasicBlock<Instruction>public int getFirstInstructionIndex()
getFirstInstructionIndex in interface com.ibm.wala.cfg.IBasicBlock<Instruction>public boolean isExitBlock()
isExitBlock in interface com.ibm.wala.cfg.IBasicBlock<Instruction>public boolean isEntryBlock()
isEntryBlock in interface com.ibm.wala.cfg.IBasicBlock<Instruction>public com.ibm.wala.classLoader.IMethod getMethod()
getMethod in interface com.ibm.wala.cfg.IBasicBlock<Instruction>public int getNumber()
getNumber in interface com.ibm.wala.cfg.IBasicBlock<Instruction>public Iterator<Instruction> iterator()
iterator in interface Iterable<Instruction>Copyright © 2019. All rights reserved.