Jimple Body
A SootMethod Body
consists of the Modifiers
and its StmtGraph
- SootUps Control Flow Graph Structure.
The StmtGraph models the flow of Stmts.
Control Flow Graph
- unexceptional flow -> like FallsThroughStmts and BranchingStmts for if,goto etc.
- exceptional flow -> for exceptions, handled by traps.
Stmts
Learn more about the types of Stmts.
Traps
A Trap is a mechanism to model exceptional flow. A Trap represents the try-catch (finally) construct and therefore defines the type of the caught exception, the try-catch range (from-to) and the actual code that handles the exception (handler). In serialized(!) Jimple Labels are used to denote from,to and handler Stmts.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
|
1 2 3 4 5 6 7 8 9 10 11 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
|