Skip to content

Commit bc00877

Browse files
committed
Data flow: Add nomagic to storeCand()
1 parent 360c7a1 commit bc00877

File tree

15 files changed

+15
-0
lines changed

15 files changed

+15
-0
lines changed

cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowImpl.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,7 @@ private predicate readCand2(Content f, Configuration config) {
683683
)
684684
}
685685

686+
pragma[nomagic]
686687
private predicate storeCand(Content f, Configuration conf) {
687688
exists(Node n1, Node n2 |
688689
store(n1, f, n2) and

cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowImpl2.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,7 @@ private predicate readCand2(Content f, Configuration config) {
683683
)
684684
}
685685

686+
pragma[nomagic]
686687
private predicate storeCand(Content f, Configuration conf) {
687688
exists(Node n1, Node n2 |
688689
store(n1, f, n2) and

cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowImpl3.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,7 @@ private predicate readCand2(Content f, Configuration config) {
683683
)
684684
}
685685

686+
pragma[nomagic]
686687
private predicate storeCand(Content f, Configuration conf) {
687688
exists(Node n1, Node n2 |
688689
store(n1, f, n2) and

cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowImpl4.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,7 @@ private predicate readCand2(Content f, Configuration config) {
683683
)
684684
}
685685

686+
pragma[nomagic]
686687
private predicate storeCand(Content f, Configuration conf) {
687688
exists(Node n1, Node n2 |
688689
store(n1, f, n2) and

cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,7 @@ private predicate readCand2(Content f, Configuration config) {
683683
)
684684
}
685685

686+
pragma[nomagic]
686687
private predicate storeCand(Content f, Configuration conf) {
687688
exists(Node n1, Node n2 |
688689
store(n1, f, n2) and

cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl2.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,7 @@ private predicate readCand2(Content f, Configuration config) {
683683
)
684684
}
685685

686+
pragma[nomagic]
686687
private predicate storeCand(Content f, Configuration conf) {
687688
exists(Node n1, Node n2 |
688689
store(n1, f, n2) and

cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl3.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,7 @@ private predicate readCand2(Content f, Configuration config) {
683683
)
684684
}
685685

686+
pragma[nomagic]
686687
private predicate storeCand(Content f, Configuration conf) {
687688
exists(Node n1, Node n2 |
688689
store(n1, f, n2) and

cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl4.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,7 @@ private predicate readCand2(Content f, Configuration config) {
683683
)
684684
}
685685

686+
pragma[nomagic]
686687
private predicate storeCand(Content f, Configuration conf) {
687688
exists(Node n1, Node n2 |
688689
store(n1, f, n2) and

csharp/ql/src/semmle/code/csharp/dataflow/internal/DataFlowImpl.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,7 @@ private predicate readCand2(Content f, Configuration config) {
683683
)
684684
}
685685

686+
pragma[nomagic]
686687
private predicate storeCand(Content f, Configuration conf) {
687688
exists(Node n1, Node n2 |
688689
store(n1, f, n2) and

java/ql/src/semmle/code/java/dataflow/internal/DataFlowImpl.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,7 @@ private predicate readCand2(Content f, Configuration config) {
683683
)
684684
}
685685

686+
pragma[nomagic]
686687
private predicate storeCand(Content f, Configuration conf) {
687688
exists(Node n1, Node n2 |
688689
store(n1, f, n2) and

0 commit comments

Comments
 (0)