Skip to content

Commit 8aedd63

Browse files
committed
Rust: Add ssaDefHasSource.
1 parent dafed9f commit 8aedd63

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rust/ql/lib/codeql/rust/dataflow/internal/SsaImpl.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,8 @@ private module DataFlowIntegrationInput implements Impl::DataFlowIntegrationInpu
340340

341341
Expr getARead(Definition def) { result = Cached::getARead(def) }
342342

343+
predicate ssaDefHasSource(WriteDefinition def) { none() } // handled in `DataFlowImpl.qll` instead
344+
343345
/** Holds if SSA definition `def` assigns `value` to the underlying variable. */
344346
predicate ssaDefAssigns(WriteDefinition def, Expr value) {
345347
none() // handled in `DataFlowImpl.qll` instead

0 commit comments

Comments
 (0)