-
Notifications
You must be signed in to change notification settings - Fork 13
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 #76 from GitHubSecurityLab/java/updatetests
Java: Update existing tests and pretty print MaD output.
- Loading branch information
Showing
11 changed files
with
82 additions
and
48 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,11 @@ | ||
/** | ||
* @kind test-postprocess | ||
*/ | ||
|
||
import semmle.code.java.dataflow.ExternalFlow | ||
import codeql.dataflow.test.ProvenancePathGraph | ||
import codeql.dataflow.test.ProvenancePathGraph::TestPostProcessing::TranslateProvenanceResults<interpretModelForTest/2> | ||
|
||
from string relation, int row, int column, string data | ||
where results(relation, row, column, data) | ||
select relation, row, column, data |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
security/CWE-078/CommandInjectionRuntimeExecTest.ql | ||
query: security/CWE-078/CommandInjectionRuntimeExecTest.ql | ||
postprocess: TestUtilities/PrettyPrintModels.ql |
Oops, something went wrong.