File tree Expand file tree Collapse file tree
cpp/ql/lib/semmle/code/cpp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ private import semmle.code.cpp.ir.dataflow.DataFlow
44private import semmle.code.cpp.ir.dataflow.internal.DataFlowUtil
55private import semmle.code.cpp.ir.dataflow.DataFlow3
66private 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
88private import semmle.code.cpp.controlflow.IRGuards
99private import semmle.code.cpp.models.interfaces.Taint
1010private import semmle.code.cpp.models.interfaces.DataFlow
Original file line number Diff line number Diff line change 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
66import cpp
77private import semmle.code.cpp.ir.ValueNumbering
8- private import DataFlowDispatch
8+ private import internal. DataFlowDispatch
99private 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 */
1818Function resolveCall ( Call call ) {
1919 exists ( CallInstruction callInstruction |
Original file line number Diff line number Diff line change 1717
1818import cpp
1919import PrintfLike
20- private import semmle.code.cpp.ir.dataflow.internal. ResolveCall
20+ private import semmle.code.cpp.ir.dataflow.ResolveCall
2121
2222bindingset [ index]
2323private string toCause ( Function func , int index ) {
You can’t perform that action at this time.
0 commit comments