mirror of
https://github.com/github/codeql.git
synced 2026-04-22 07:15:15 +02:00
Python: Simple dataflow annotations
None of these required any changes to the dataflow libraries, so it seemed easiest to put them in their own commit.
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
*
|
||||
* Provides helper class for defining additional API graph edges.
|
||||
*/
|
||||
overlay[local]
|
||||
module;
|
||||
|
||||
private import python
|
||||
private import semmle.python.dataflow.new.DataFlow
|
||||
|
||||
@@ -177,6 +177,7 @@ module Stages {
|
||||
* Always holds.
|
||||
* Ensures that a predicate is evaluated as part of the DataFlow stage.
|
||||
*/
|
||||
overlay[local]
|
||||
cached
|
||||
predicate ref() { 1 = 1 }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user