-
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1123 from soot-oss/1110-bug-jimple-frontend-does-…
…not-apply-specified-interceptors 1110 bug jimple frontend does not apply specified interceptors
- Loading branch information
Showing
9 changed files
with
168 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
...end/src/test/java/resources/jimple/testbodyinterceptorsinjimpleinputlocation/JB_CP.jimple
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
public class JB_CP extends java.lang.Object | ||
{ | ||
public void <init>() | ||
{ | ||
JB_CP r0; | ||
|
||
|
||
r0 := @this: JB_CP; | ||
specialinvoke r0.<java.lang.Object: void <init>()>(); | ||
|
||
return; | ||
} | ||
|
||
int tc1() | ||
{ | ||
byte b0, b1; | ||
java.io.PrintStream r0; | ||
JB_CP r1; | ||
|
||
|
||
r1 := @this: JB_CP; | ||
b0 = 5; | ||
b1 = b0; | ||
r0 = <java.lang.System: java.io.PrintStream out>; | ||
virtualinvoke r0.<java.io.PrintStream: void println(int)>(b1); | ||
|
||
return b1; | ||
} | ||
|
||
public static void main(java.lang.String[]) | ||
{ | ||
int i0; | ||
java.io.PrintStream r0; | ||
java.lang.String r1; | ||
java.lang.String[] r2; | ||
JB_CP r3, r4; | ||
|
||
|
||
r2 := @parameter0: java.lang.String[]; | ||
r3 = new JB_CP; | ||
specialinvoke r3.<JB_CP: void <init>()>(); | ||
r4 = r3; | ||
r0 = <java.lang.System: java.io.PrintStream out>; | ||
i0 = virtualinvoke r4.<JB_CP: int tc1()>(); | ||
r1 = dynamicinvoke "makeConcatWithConstants" <java.lang.String (int)>(i0) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("tc1: \u0001"); | ||
virtualinvoke r0.<java.io.PrintStream: void println(java.lang.String)>(r1); | ||
|
||
return; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.