Comments (2)
We don't currently filter out beforehand because a file that is filtered out may be referenced by other files e.g. library/parent contract in inheritance that must also be analyzed. In terms of performance, I would expect a higher priority is reducing the time we spend in solc (foundry-rs/foundry#7212). We do need to revisit Slither's performance though and I'm sure there's a way to more intelligently filter to eliminate this overhead.
related issue #2026
from slither.
Targeting a specific contract like src/ContractX.sol will skip analyzing others, so one would expect --filter-paths to behave similarly. Thank you for clarifying.
from slither.
Related Issues (20)
- [Bug-Candidate]: ERROR:SlitherSolcParsing HOT 2
- [Bug]: detector `unused-import` mistakes the interface inheritance HOT 1
- Monthly issue metrics report
- [Bug]: ERROR:SlitherSolcParsing: Failed to convert IR to SSA for EnumerableSetLib contract. HOT 5
- optimize and make sure unused-imports is accurate HOT 1
- [Bug]: info from `solc-version` detector displays misleading message HOT 4
- slither fails to resolve imports in dependency due to issue in foundry HOT 2
- Typo in Wiki about 'Dead-code' HOT 2
- [Bug-Candidate]: ERROR:SlitherSolcParsing: assert isinstance(right, TupleVariable) AssertionError HOT 1
- [Bug-Candidate]: redundant control flow edge after try block HOT 2
- [Bug-Candidate]: Failed to convert IR to SSA for Initializable contract. HOT 2
- add test that results are sorted by impact and able to be filtered
- [False-Positive]: dead-code
- [Bug-Candidate]: `--solc-ast` flag does nothing and all HOT 3
- [False Negative]: Slither misses the bug when used with different solc comiler version HOT 2
- [Bug-Candidate]: ParsingError: Type not found struct Checkpoints.Trace208 in Slither Analysis HOT 2
- Extra buggy solc versions defined HOT 1
- [False-Positive]: Can Slither take account "require" this assert like constraint? HOT 2
- [Bug-Candidate]: Incorrect SSA form with break HOT 1
- Detect untrusted input used to make a call HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slither.