Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,9 @@ class CilDataFlowCall extends DataFlowCall, TCilCall {

CilDataFlowCall() { this = TCilCall(call) }

/** Gets the underlying CIL call. */
CIL::Call getCilCall() { result = call }

override DataFlowCallable getARuntimeTarget() {
// There is no dispatch library for CIL, so do not consider overrides for now
result.getUnderlyingCallable() = getCallableForDataFlow(call.getTarget())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1181,7 +1181,7 @@ private module ArgumentNodes {
ExplicitArgumentNode() {
this.asExpr() instanceof Argument
or
this.asExpr() = any(CIL::Call call).getAnArgument()
this.asExpr() = any(CilDataFlowCall cc).getCilCall().getAnArgument()
}

override predicate argumentOf(DataFlowCall call, ArgumentPosition pos) {
Expand Down