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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidinterceptBody(@NonNull Body.BodyBuilder builder, @NonNull View view) Takes a BodyBuilder and may apply a transformation to it, for example removing unused local variables.protected List<ValidationException>validate(@NonNull Body.BodyBuilder builder, @NonNull View view)
-
Constructor Details
-
JimpleSemanticsChecker
public JimpleSemanticsChecker()
-
-
Method Details
-
validate
-
interceptBody
Description copied from interface:BodyInterceptorTakes a BodyBuilder and may apply a transformation to it, for example removing unused local variables.- Specified by:
interceptBodyin interfaceBodyInterceptor
-