Visitar URL original
Dataflow: Add default taint sanitizer guard by owen-mc · Pull Request #7587 · github/codeql · GitHub
The Wayback Machine - https://web.archive.org/web/20260107055157/https://github.com/github/codeql/pull/7587
Skip to content

Conversation

@owen-mc
Copy link
Contributor

@owen-mc owen-mc commented Jan 13, 2022

This is used in codeql-go.

This allows languages to specify A sanitizer guard in all
global taint flow configurations but not in local taint.
Done automatically using sync-files.py
This was done manually, as these files are not synced by sync-files.py.
@owen-mc owen-mc requested review from a team as code owners January 13, 2022 10:42
@owen-mc owen-mc changed the title Add default taint sanitizer guard Dataflow: Add default taint sanitizer guard Jan 13, 2022
hvitved
hvitved previously approved these changes Jan 13, 2022
Copy link
Contributor

@hvitved hvitved left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

* Holds if `guard` should be a sanitizer guard in all global taint flow configurations
* but not in local taint.
*/
cached
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caching this seems overkill.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, I think I just copied what was going on for defaultTaintSanitizer and didn't engage my brain enough.

Copy link
Contributor

@aschackmull aschackmull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aschackmull aschackmull merged commit c44cf29 into github:main Jan 13, 2022
@owen-mc owen-mc deleted the add-default-taint-sanitizer-guard branch January 13, 2022 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants