Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 332733a

Browse files
committed
Java/C++: Follow-up changes
1 parent b5b0c2b commit 332733a

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,4 +302,4 @@ class DataFlowCall extends Expr {
302302

303303
predicate isUnreachableInCall(Node n, DataFlowCall call) { none() } // stub implementation
304304

305-
int flowThroughAccessPathLimit() { none() }
305+
int accessPathLimit() { result = 5 }

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,4 +205,4 @@ class DataFlowCall extends CallInstruction {
205205

206206
predicate isUnreachableInCall(Node n, DataFlowCall call) { none() } // stub implementation
207207

208-
int flowThroughAccessPathLimit() { none() }
208+
int accessPathLimit() { result = 5 }

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,4 +323,4 @@ predicate isUnreachableInCall(Node n, DataFlowCall call) {
323323
)
324324
}
325325

326-
int flowThroughAccessPathLimit() { none() }
326+
int accessPathLimit() { result = 5 }

0 commit comments

Comments
 (0)