Skip to content

Commit a80fbf0

Browse files
committed
Overlay annotation script shouldn't manage overlay[local] and overlay[global]
1 parent 5b48726 commit a80fbf0

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

config/annotate-overlay-local.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def filter_out_annotations(filename):
2727
Read the file and strip all existing overlay[...] annotations from the contents.
2828
Return the file modified file content as a list of lines.
2929
'''
30-
overlays = ["local", "local?", "global", "caller"]
30+
overlays = ["local?", "caller"]
3131
annotations = [f"overlay[{t}]" for t in overlays]
3232
with open(filename, 'r') as file_in:
3333
lines = [l for l in file_in if not l.strip() in annotations]

java/ql/lib/experimental/quantum/JCA.qll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
overlay[local?]
2+
module;
3+
14
import java
25
import semmle.code.java.dataflow.DataFlow
36
import semmle.code.java.dataflow.TaintTracking

java/ql/lib/experimental/quantum/Language.qll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
overlay[local?]
2+
module;
3+
14
private import java as Language
25
private import semmle.code.java.security.InsecureRandomnessQuery
36
private import semmle.code.java.security.RandomQuery

shared/quantum/codeql/quantum/experimental/Model.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/**
22
* A language-independent library for reasoning about cryptography.
33
*/
4+
overlay[local?]
5+
module;
46

57
import codeql.util.Location
68

0 commit comments

Comments
 (0)