File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
cpp/ql/lib/semmle/code/cpp Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ private import semmle.code.cpp.ir.dataflow.DataFlow
4
4
private import semmle.code.cpp.ir.dataflow.internal.DataFlowUtil
5
5
private import semmle.code.cpp.ir.dataflow.DataFlow3
6
6
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
8
8
private import semmle.code.cpp.controlflow.IRGuards
9
9
private import semmle.code.cpp.models.interfaces.Taint
10
10
private import semmle.code.cpp.models.interfaces.DataFlow
Original file line number Diff line number Diff line change 1
1
/**
2
2
* Provides a predicate for non-contextual virtual dispatch and function
3
- * pointer resolution, built on top of the `DataFlowDispatch` library .
3
+ * pointer resolution.
4
4
*/
5
5
6
6
import cpp
7
7
private import semmle.code.cpp.ir.ValueNumbering
8
- private import DataFlowDispatch
8
+ private import internal. DataFlowDispatch
9
9
private import semmle.code.cpp.ir.IR
10
10
11
11
/**
12
12
* Resolve potential target function(s) for `call`.
13
13
*
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).
17
17
*/
18
18
Function resolveCall ( Call call ) {
19
19
exists ( CallInstruction callInstruction |
Original file line number Diff line number Diff line change 17
17
18
18
import cpp
19
19
import PrintfLike
20
- private import semmle.code.cpp.ir.dataflow.internal. ResolveCall
20
+ private import semmle.code.cpp.ir.dataflow.ResolveCall
21
21
22
22
bindingset [ index]
23
23
private string toCause ( Function func , int index ) {
You can’t perform that action at this time.
0 commit comments