crytic/slither
View on GitHubupdate register printer to consider multiple compilation units
Open
#1,780 opened on Mar 20, 2023
buggood first issue
Repository metrics
- Stars
- (4,769 stars)
- PR merge metrics
- (Avg merge 54d 9h) (2 merged PRs in 30d)
Description
register_detector applies to each compilation unit
https://github.com/crytic/slither/blob/776dcab44070b2d236ae3bcf3b92f4245f14037a/slither/slither.py#L181-L189
register_printer does not and needs to be updated
https://github.com/crytic/slither/blob/776dcab44070b2d236ae3bcf3b92f4245f14037a/slither/slither.py#L201-L208