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

Fix external-function detector to avoid false-positives #122

Merged
merged 5 commits into from
Jan 7, 2019

Conversation

Xenomega
Copy link
Member

@Xenomega Xenomega commented Jan 6, 2019

This pull request aims to resolve #118 . Fixes the handling of the external-function detector such that it takes into account calls to base + overriding functions, and respects unified visibility conventions between all definitions.

This rewrites most of the original detector logic and should be reviewed thoroughly. It has been tested on the example referenced in the above issue, and all tests in the \tests\ directory to ensure no false-positives.

It should also be noted that this branch is also based off of the dev-api-contract branch, which has not yet been merged to master.

montyly and others added 4 commits January 4, 2019 15:41
- functions_inherited
- functions_not_inherited
- modifiers_inherited
- modifiers_not_inherited
- functions_and_modifiers_inherited
- functions_and_modifiers_not_inherited
- functions_entry_points
- get_functions_overridden_by
- Remove contract.get_functions_overridden_by
- Add function.functions_shadowed
- Add contract.derived_contracts
@CLAassistant
Copy link

CLAassistant commented Jan 6, 2019

CLA assistant check
All committers have signed the CLA.

@montyly montyly merged commit 438dd33 into master Jan 7, 2019
@montyly montyly deleted the dev-external-function branch January 7, 2019 16:48
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.

False positive on external-function
3 participants