Skip to content

Identifying Sanitizer/Barrier nodes in a query #483

Answered by hvitved
DhvanilSanghvi asked this question in Q&A
Discussion options

You must be logged in to vote

Hi

If you are simply looking for all, say, BarrierGuards for a given data flow configuration Config, you can write a simple predicate

predicate barrierGuard(BarrierGuard bg, Config config) {
  config.isBarrierGuard(bg)
}

and then quick-eval that in VS Code.

I am not quite sure what you mean by "along with the source and sink": If there is flow from a source to a sink it means that there is a path that does not go through any (barrier)guard, so none of the paths reported will contain a guard.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@DhvanilSanghvi
Comment options

@hvitved
Comment options

hvitved Nov 17, 2021
Collaborator

@DhvanilSanghvi
Comment options

@DhvanilSanghvi
Comment options

Answer selected by DhvanilSanghvi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants