|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.bcel.verifier.PassVerifier
org.apache.bcel.verifier.structurals.Pass3bVerifier
public final class Pass3bVerifier
This PassVerifier verifies a method of class file according to pass 3, so-called structural verification as described in The Java Virtual Machine Specification, 2nd edition. More detailed information is to be found at the do_verify() method's documentation.
do_verify()| Nested Class Summary | |
|---|---|
private static class |
Pass3bVerifier.InstructionContextQueue
An InstructionContextQueue is a utility class that holds (InstructionContext, ArrayList) pairs in a Queue data structure. |
| Field Summary | |
|---|---|
private static boolean |
DEBUG
In DEBUG mode, the verification algorithm is not randomized. |
private int |
method_no
The method number to verify. |
private Verifier |
myOwner
The Verifier that created this. |
| Constructor Summary | |
|---|---|
Pass3bVerifier(Verifier owner,
int method_no)
This class should only be instantiated by a Verifier. |
|
| Method Summary | |
|---|---|
private void |
circulationPump(ControlFlowGraph cfg,
InstructionContext start,
Frame vanillaFrame,
InstConstraintVisitor icv,
ExecutionVisitor ev)
Whenever the outgoing frame situation of an InstructionContext changes, all its successors are put [back] into the queue [as if they were unvisited]. |
VerificationResult |
do_verify()
Pass 3b implements the data flow analysis as described in the Java Virtual Machine Specification, Second Edition. |
int |
getMethodNo()
Returns the method number as supplied when instantiating. |
| Methods inherited from class org.apache.bcel.verifier.PassVerifier |
|---|
addMessage, getMessages, verify |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final boolean DEBUG
private Verifier myOwner
private int method_no
| Constructor Detail |
|---|
public Pass3bVerifier(Verifier owner,
int method_no)
Verifier| Method Detail |
|---|
private void circulationPump(ControlFlowGraph cfg,
InstructionContext start,
Frame vanillaFrame,
InstConstraintVisitor icv,
ExecutionVisitor ev)
public VerificationResult do_verify()
do_verify in class PassVerifierLocalVariablesInfo,
Pass2Verifier.getLocalVariablesInfo(int)public int getMethodNo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||