Merge branch 'main' into python-add-typetracker

This commit is contained in:
Taus Brock-Nannestad
2020-08-28 19:59:58 +02:00
135 changed files with 5423 additions and 633 deletions

View File

@@ -28,11 +28,11 @@
* }
*
* override predicate hasActualResult(
* Location location, string element, string tag, string valuesasas
* Location location, string element, string tag, string value
* ) {
* exists(Expr e |
* tag = "const" and // The tag for this test.
* valuesasas = e.getValue() and // The expected value. Will only hold for constant expressions.
* value = e.getValue() and // The expected value. Will only hold for constant expressions.
* location = e.getLocation() and // The location of the result to be reported.
* element = e.toString() // The display text for the result.
* )

View File

@@ -1,3 +1,4 @@
private import python
import experimental.dataflow.DataFlow
/**

View File

@@ -1,3 +1,4 @@
import python
import experimental.dataflow.DataFlow
/**

View File

@@ -1,3 +1,4 @@
import python
import experimental.dataflow.DataFlow
/**

View File

@@ -1,3 +1,4 @@
import python
import experimental.dataflow.DataFlow
/**

View File

@@ -1,3 +1,4 @@
import python
import experimental.dataflow.DataFlow
/**

View File

@@ -2,6 +2,7 @@
* @kind path-problem
*/
import python
import experimental.dataflow.testConfig
import DataFlow::PathGraph

View File

@@ -5,6 +5,7 @@
* hope to remove the false positive.
*/
import python
import experimental.dataflow.testConfig
from DataFlow::Node source, DataFlow::Node sink

View File

@@ -20,6 +20,7 @@
* complex | `42j` (not supported yet)
*/
private import python
import experimental.dataflow.DataFlow
class TestConfiguration extends DataFlow::Configuration {