Consensys / mythx-cli

A command line interface for the MythX smart contract security analysis API
https://mythx-cli.readthedocs.io/
MIT License
84 stars 29 forks source link

Option to sort finding by type (even across multiple files) #158

Closed maurelian closed 4 years ago

maurelian commented 4 years ago

Description

I would like to be able to request output sorted by SWC title. This would mean that all findings of a certain type would go together.

This would be useful because sometimes I suspect there might be reentrancy somewhere, and just want to review all instances of that possible vuln.

maurelian commented 4 years ago

This will be particularly useful for detectors that identify common, simple anti-patterns like "use eternal vs internal", "pin pragma", and "unused variables", "hard-coded gas", etc.

dmuhs commented 4 years ago

Fixed in #198 and scheduled for the next release :+1:

dmuhs commented 4 years ago

This is out in v0.6.20 now :tada: Consider this documentation section for a short sample: https://mythx-cli.readthedocs.io/en/latest/usage.html#fetching-analysis-reports