We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If the example function for the suicidal detector is changed from public to external the issue is no longer flagged.
public
external
pragma solidity ^0.5.0; contract Suicidal{ function kill() external{ selfdestruct(msg.sender); } }
slither --version: 0.6.12 solc --version: 0.5.15
slither --version
solc --version
The text was updated successfully, but these errors were encountered:
Hi @wolflo,
Thank you for reporting this. I agree that external functions should be included in this detector, we will include them.
Sorry, something went wrong.
Detect suicidal external function (fix #527)
d9ede1c
7c91cb5
Clean the suicidal detector to use functions_entry_points
fa8deb6
Hi @wolflo, the fix (#530) is merged in master.
It will also be available in the upcoming release.
Thank you again for reporting this issue
Thanks for the fix @montyly!
No branches or pull requests
If the example function for the suicidal detector is changed from
public
toexternal
the issue is no longer flagged.slither --version
: 0.6.12solc --version
: 0.5.15The text was updated successfully, but these errors were encountered: