Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made inclusion of GENERIC_TAINT sources (msg.*, tx.origin) optional in taint-checking #181

Merged
merged 1 commit into from
Mar 3, 2019

Conversation

rajeevgopalakrishna
Copy link
Contributor

Made inclusion of GENERIC_TAINT sources (msg.*, tx.origin) optional in taint-checking by adding ignore_generic_taint parameter to is_tainted() and is_tainted_ssa() functions, with the default value being FALSE.

Motivation: There are analyses where one would like to ignore these generic taint sources but only include taint coming from other user-controlled function arguments.

Validation: tests/controlled_delegatecall.sol passes with two violations as expected. scripts/travis_test_data_dependency.sh passes.

…n taintedness checking by adding ignore_generic_taint parameter to is_tainted() and is_tainted_ssa() functions, with the default value being FALSE.
@montyly montyly merged commit 2fa3982 into dev Mar 3, 2019
@montyly montyly deleted the dev-make-generic-taint-optional branch April 5, 2019 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants