mirror of
https://github.com/github/codeql.git
synced 2025-12-25 21:26:37 +01:00
19 lines
568 B
Plaintext
19 lines
568 B
Plaintext
/**
|
|
* @kind test-postprocess
|
|
*/
|
|
|
|
import codeql.dataflow.test.ProvenancePathGraph
|
|
import semmle.code.java.dataflow.ExternalFlow
|
|
|
|
external predicate queryResults(string relation, int row, int column, string data);
|
|
|
|
external predicate queryRelations(string relation);
|
|
|
|
query predicate resultRelations(string relation) { queryRelations(relation) }
|
|
|
|
module Res = TranslateProvenanceResults<interpretModelForTest/2, queryResults/4>;
|
|
|
|
from string relation, int row, int column, string data
|
|
where Res::results(relation, row, column, data)
|
|
select relation, row, column, data
|