-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 #17236 from michaelnebel/java/viablecallableheuristic
Java: Make more finegrained dataflow dispatch viable callable heuristic.
- Loading branch information
Showing
17 changed files
with
867 additions
and
708 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
category: majorAnalysis | ||
--- | ||
* A generated (Models as Data) summary model is no longer used, if there exists a source code alternative. This primarily affects the analysis, when the analysis includes generated models for the source code being analysed. |
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
This file was deleted.
Oops, something went wrong.
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
23 changes: 12 additions & 11 deletions
23
java/ql/test/library-tests/dataflow/external-models/steps.expected
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 |
---|---|---|
@@ -1,13 +1,14 @@ | ||
invalidModelRow | ||
#select | ||
| C.java:6:16:6:19 | arg1 | C.java:6:5:6:20 | stepArgRes(...) | | ||
| C.java:10:16:10:21 | argIn1 | C.java:10:24:10:30 | argOut1 [post update] | | ||
| C.java:13:16:13:21 | argIn2 | C.java:13:24:13:30 | argOut2 [post update] | | ||
| C.java:16:17:16:20 | arg2 | C.java:16:5:16:21 | this <.method> [post update] | | ||
| C.java:18:22:18:25 | arg3 | C.java:18:5:18:8 | this [post update] | | ||
| C.java:20:5:20:8 | this | C.java:20:5:20:22 | stepQualRes(...) | | ||
| C.java:21:5:21:17 | this <.method> | C.java:21:5:21:17 | stepQualRes(...) | | ||
| C.java:24:5:24:23 | this <.method> | C.java:24:17:24:22 | argOut [post update] | | ||
| C.java:29:25:29:28 | arg1 | C.java:29:5:29:29 | stepArgResGenerated(...) | | ||
| C.java:34:38:34:41 | arg2 | C.java:34:5:34:42 | stepArgResGeneratedIgnored(...) | | ||
| C.java:36:26:36:29 | arg1 | C.java:36:5:36:30 | this <.method> [post update] | | ||
| C.java:8:16:8:19 | arg1 | C.java:8:5:8:20 | stepArgRes(...) | | ||
| C.java:12:16:12:21 | argIn1 | C.java:12:24:12:30 | argOut1 [post update] | | ||
| C.java:15:16:15:21 | argIn2 | C.java:15:24:15:30 | argOut2 [post update] | | ||
| C.java:18:17:18:20 | arg2 | C.java:18:5:18:21 | this <.method> [post update] | | ||
| C.java:20:22:20:25 | arg3 | C.java:20:5:20:8 | this [post update] | | ||
| C.java:22:5:22:8 | this | C.java:22:5:22:22 | stepQualRes(...) | | ||
| C.java:23:5:23:17 | this <.method> | C.java:23:5:23:17 | stepQualRes(...) | | ||
| C.java:26:5:26:23 | this <.method> | C.java:26:17:26:22 | argOut [post update] | | ||
| C.java:44:32:44:35 | arg1 | C.java:44:5:44:36 | apiStepArgResGenerated(...) | | ||
| C.java:50:45:50:48 | arg2 | C.java:50:5:50:49 | apiStepArgResGeneratedIgnored(...) | | ||
| C.java:52:33:52:36 | arg1 | C.java:52:5:52:7 | lib [post update] | | ||
| C.java:62:12:62:15 | arg1 | C.java:62:5:62:16 | id(...) | |
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
23 changes: 23 additions & 0 deletions
23
java/ql/test/library-tests/dataflow/external-models/stubs/Library.java
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,23 @@ | ||
package my.qltest.external; | ||
|
||
public class Library { | ||
public Object apiStepArgResGenerated(Object x) { | ||
return null; | ||
} | ||
|
||
public Object apiStepArgResGeneratedIgnored(Object x, Object y) { | ||
return null; | ||
} | ||
|
||
public Object apiStepArgQualGenerated(Object x) { | ||
return null; | ||
} | ||
|
||
public Object apiStepArgQualGeneratedIgnored(Object x) { | ||
return null; | ||
} | ||
|
||
public Object id(Object x) { | ||
return null; | ||
} | ||
} |
Oops, something went wrong.