Files
codeql/rust/ql/test/library-tests/dataflow/global/viableCallable.ql
2026-06-02 09:55:51 +02:00

7 lines
251 B
Plaintext

import codeql.rust.dataflow.internal.DataFlowImpl
query predicate viableCallable(DataFlowCall call, DataFlowCallable callee) {
RustDataFlow::viableCallable(call) = callee and
(call.asCall().fromSource() or call.isImplicitDerefCall(_, _, _, _))
}