Package sootup.interceptors
Class ConditionalBranchFolder
java.lang.Object
sootup.interceptors.ConditionalBranchFolder
- All Implemented Interfaces:
BodyInterceptor
Statically evaluates the conditional expression of Jimple if statements. If the condition is
identically true or false, the Folder replaces the conditional branch statement with an
unconditional goto statement
- Author:
- Marcus Nachtigall, Markus Schmidt
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
interceptBody
(Body.BodyBuilder builder, View view) Takes a BodyBuilder and may apply a transformation to it, for example removing unused local variables.
-
Constructor Details
-
ConditionalBranchFolder
public ConditionalBranchFolder()
-
-
Method Details
-
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
-