Class ExceptionTableVerifier
- java.lang.Object
-
- com.tonic.analysis.verifier.controlflow.ExceptionTableVerifier
-
public class ExceptionTableVerifier extends Object
Verification pass over a method's exception table: range validity, handler targets, and overlaps.
-
-
Constructor Summary
Constructors Constructor Description ExceptionTableVerifier(ClassFile classFile)Creates the pass for one class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidverify(MethodEntry method, ErrorCollector collector)Checks each exception-table entry's ranges, handler target, catch type, and overlap with other handlers.
-
-
-
Constructor Detail
-
ExceptionTableVerifier
public ExceptionTableVerifier(ClassFile classFile)
Creates the pass for one class.- Parameters:
classFile- the class whose constant pool resolves catch types
-
-
Method Detail
-
verify
public void verify(MethodEntry method, ErrorCollector collector)
Checks each exception-table entry's ranges, handler target, catch type, and overlap with other handlers.- Parameters:
method- the method to checkcollector- the sink for findings
-
-