Skip to content
Closed
Changes from 1 commit
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
Prev Previous commit
Rust: Add deprecation notice to deprecated MaD extension predicates
  • Loading branch information
hvitved committed May 19, 2025
commit 6c2da4bef1a431d1796ad1dce5f24e6a4f6ab02b
9 changes: 9 additions & 0 deletions rust/ql/lib/codeql/rust/dataflow/internal/ModelsAsData.qll
Original file line number Diff line number Diff line change
@@ -49,6 +49,9 @@ private import codeql.rust.dataflow.FlowSource
private import codeql.rust.dataflow.FlowSink

/**
* DEPRECATED: This predicate will be replaced by an alternative implementation
* in the future, which uses a slightly different format.
*
* Holds if in a call to the function with canonical path `path`, defined in the
* crate `crate`, the value referred to by `output` is a flow source of the given
* `kind`.
@@ -64,6 +67,9 @@ extensible predicate sourceModelDeprecated(
);

/**
* DEPRECATED: This predicate will be replaced by an alternative implementation
* in the future, which uses a slightly different format.
*
* Holds if in a call to the function with canonical path `path`, defined in the
* crate `crate`, the value referred to by `input` is a flow sink of the given
* `kind`.
@@ -80,6 +86,9 @@ extensible predicate sinkModelDeprecated(
);

/**
* DEPRECATED: This predicate will be replaced by an alternative implementation
* in the future, which uses a slightly different format.
*
* Holds if in a call to the function with canonical path `path`, defined in the
* crate `crate`, the value referred to by `input` can flow to the value referred
* to by `output`.