Package sootup.interceptors
Class JimpleSemanticsChecker
java.lang.Object
sootup.interceptors.JimpleSemanticsChecker
- All Implemented Interfaces:
BodyInterceptor
- Direct Known Subclasses:
JimpleSemanticsChecker.LoggingJimpleChecker
This Interceptor executes validations on Jimple semantics
e.g. like a Local must be assigned before its use
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
interceptBody
(Body.BodyBuilder builder, View view) Takes a BodyBuilder and may apply a transformation to it, for example removing unused local variables.protected List<ValidationException>
validate
(Body.BodyBuilder builder, View view)
-
Constructor Details
-
JimpleSemanticsChecker
public JimpleSemanticsChecker()
-
-
Method Details
-
validate
-
interceptBody
Description copied from interface:BodyInterceptor
Takes a BodyBuilder and may apply a transformation to it, for example removing unused local variables.- Specified by:
interceptBody
in interfaceBodyInterceptor
-