Skip to content
Open
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
4 changes: 3 additions & 1 deletion java/ql/lib/semmle/code/java/ControlFlowGraph.qll
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,9 @@ private module NonReturningCalls {
}

/** Gets a `MethodCall` that calls this method. */
MethodCall getAnAccess() { result.getMethod().getAPossibleImplementation() = this }
MethodCall getAnAccess() {
result.getMethod().getAPossibleImplementation() = pragma[only_bind_out](this)
}
}

/** Holds if a call to `m` indicates that `m` is expected to return. */
Expand Down
Loading