Skip to content

Rust: Add support for defining barriers and barrier guards using models-as-data#21475

Draft
owen-mc wants to merge 5 commits intogithub:mainfrom
owen-mc:rust/mad-barriers
Draft

Rust: Add support for defining barriers and barrier guards using models-as-data#21475
owen-mc wants to merge 5 commits intogithub:mainfrom
owen-mc:rust/mad-barriers

Conversation

@owen-mc
Copy link
Contributor

@owen-mc owen-mc commented Mar 15, 2026

No description provided.

@github-actions github-actions bot added Rust Pull requests that update Rust code DataFlow Library labels Mar 15, 2026
/** Holds if `n` is a flow barrier of kind `kind`. */
cached
predicate barrierNode(Node n, string kind) {
exists(string model |
* `branch` is either `true` or `false`, indicating which branch of the guard
* is protecting the parameter.
*/
extensible predicate barrierGuardModel(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DataFlow Library Rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant