Skip to content

Commit 8faeab1

Browse files
committed
C++: move ResolveCall.qll out of internal directory
1 parent 21ed5c4 commit 8faeab1

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

cpp/ql/lib/semmle/code/cpp/ir/dataflow/DefaultTaintTracking.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ private import semmle.code.cpp.ir.dataflow.DataFlow
44
private import semmle.code.cpp.ir.dataflow.internal.DataFlowUtil
55
private import semmle.code.cpp.ir.dataflow.DataFlow3
66
private import semmle.code.cpp.ir.IR
7-
private import semmle.code.cpp.ir.dataflow.internal.ResolveCall
7+
private import semmle.code.cpp.ir.dataflow.ResolveCall
88
private import semmle.code.cpp.controlflow.IRGuards
99
private import semmle.code.cpp.models.interfaces.Taint
1010
private import semmle.code.cpp.models.interfaces.DataFlow

cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/ResolveCall.qll renamed to cpp/ql/lib/semmle/code/cpp/ir/dataflow/ResolveCall.qll

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
/**
22
* Provides a predicate for non-contextual virtual dispatch and function
3-
* pointer resolution, built on top of the `DataFlowDispatch` library.
3+
* pointer resolution.
44
*/
55

66
import cpp
77
private import semmle.code.cpp.ir.ValueNumbering
8-
private import DataFlowDispatch
8+
private import internal.DataFlowDispatch
99
private import semmle.code.cpp.ir.IR
1010

1111
/**
1212
* Resolve potential target function(s) for `call`.
1313
*
14-
* If `call` is a call through a function pointer (`ExprCall`) or
15-
* targets a virtual method, simple data flow analysis is performed
16-
* in order to identify target(s).
14+
* If `call` is a call through a function pointer (`ExprCall`) or its target is
15+
* a virtual member function, simple data flow analysis is performed in order
16+
* to identify the possible target(s).
1717
*/
1818
Function resolveCall(Call call) {
1919
exists(CallInstruction callInstruction |

cpp/ql/lib/semmle/code/cpp/security/FunctionWithWrappers.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
import cpp
1919
import PrintfLike
20-
private import semmle.code.cpp.ir.dataflow.internal.ResolveCall
20+
private import semmle.code.cpp.ir.dataflow.ResolveCall
2121

2222
bindingset[index]
2323
private string toCause(Function func, int index) {

0 commit comments

Comments
 (0)