crytic / amarna

Amarna is a static-analyzer and linter for the Cairo programming language.
https://blog.trailofbits.com/2022/04/20/amarna-static-analysis-for-cairo-programs/
GNU Affero General Public License v3.0
148 stars 7 forks source link

Add a rule to exclude functions under a namespace #54

Open ametel01 opened 2 years ago

ametel01 commented 2 years ago

Add a rule here https://github.com/crytic/amarna/blob/2bb48690eae625737bb59b84e1961795528f7bc8/amarna/rules/post_process_rules/UnusedFunctionsRule.py#L30 to exclude, function under namespace in libraries, from being flagged with “unused function” warning.