Commit Graph

3712 Commits (8a5aab62c9a0a4b9dde91eb9d0ffd847b8987bdb)
 

Author SHA1 Message Date
Josselin ece8e324ce Improve truffle auto version parsing 6 years ago
Josselin c0f9f09b59 Fix missing support for this.variable() in reentrancy detector 6 years ago
Feist Josselin 6bad498509
Merge pull request #161 from trailofbits/dev-legacy-usertypename-parsing 6 years ago
Josselin f468cda4c1 Change: 6 years ago
Josselin ca1fe79ac3 Merge branch 'master' into dev 6 years ago
Josselin fe6789bdc5 Fixed: 6 years ago
Josselin ecebd0414d WIP database 6 years ago
Josselin 1757618fb4 Data depencies: use fix point for function depenencies (fix #171) 6 years ago
Josselin 02661eb0ff Improve reentrancy heuristic: ignore call to this. if the destination is reentrancy-safe (close #127) 6 years ago
Josselin 0ad077755e Unused variable: Check for array length expressions (fix #167) 6 years ago
Josselin 3dbe807aad Improve inheritance graph printed message 6 years ago
Josselin 4154f79f75 Merge branch 'dev' of github.com:trailofbits/slither into dev 6 years ago
Josselin 5f0cae387f Improve code readability of major modules: 6 years ago
David Pokora 03ab0cdeb2
Updated inheritances_graph printer examples. 6 years ago
David Pokora ae90ff1343
Darker gray on indirect shadowing information in inheritance-graph 6 years ago
Josselin d22e53fdfe Improve reentrancy heuristic: Only skip view/pure/variable calls if Solidity 0.5 is used 6 years ago
Josselin ea599c4efd Truffle: fix minor bug in truffle cmd declaration 6 years ago
David Pokora e8e112c89b
Fixed an issue where 'type' node would not exist on old solc in legacy-ast. 6 years ago
Josselin 367ba02562 Add WIKI link to printers (close 164) 6 years ago
Josselin 15a9215a0b Add WIKI to Detector mandatory fields 6 years ago
Josselin 78a0290c4a Merge branch 'master' into dev 6 years ago
Josselin 7efc087c74 Improve printer documentation 6 years ago
Josselin a1e51e66a3 Merge branch 'dev' of github.com:trailofbits/slither into dev 6 years ago
Josselin 1189014530 Merge branch 'dev-legacy-forloop' into dev 6 years ago
Josselin b539a5f199 Add slithir.operation.unroll as a general util (slither.utils.utils). Use unroll on fix_phi operations 6 years ago
Feist Josselin e4bb2af510
Merge pull request #169 from trailofbits/dev-legacy-forloop 6 years ago
Feist Josselin e1d8d5045e
Merge pull request #166 from trailofbits/dev-inheritance 6 years ago
David Pokora 43fa54dde3
Fix an issue where legacy-ast would fail to detect missing loop components, causing the iterator to be parsed as the initializer, and the loop block to be parsed as the iterator (causing failure). 6 years ago
Josselin bf249d9724 Fix incorrect indent 6 years ago
Feist Josselin 60f3d14889
Update inheritance_graph.py 6 years ago
David Pokora d1fe98c3f0
Changed inheritance_analysis to provide global functions instead of wrapping them in an abstract class with static functions. 6 years ago
Josselin f8897c3f8f Clean import detectors/printer in slither/__main__.py 6 years ago
David Pokora 77412d22c7
Fixed issue with contract detection in inheritance-graph 6 years ago
David Pokora f0f210cd2c
* Changed inheritance-graph to only highlight direct shadowing, and only provide additional information for indirect conflicts. 6 years ago
Josselin b7f50f852a Improve data_dependency unit tests (add PropagateThroughArguments) 6 years ago
Josselin 6086e44885 Add data depenency tests to travis 6 years ago
Josselin 18ad15a577 Fix: 6 years ago
Josselin 2d37a03a91 New APIs: 6 years ago
Josselin a3d951fbc2 API change: 6 years ago
Josselin 8ee0099165 Improve read info (1cdc34ec77) 6 years ago
David Pokora 65a82b0caa
Cleaned up inheritance-graph: kept shadowing lookups, removed shadowed. Adjusted tooltip. 6 years ago
David Pokora 2d57be0fff
* Added tooltips for function/variable shadowing 6 years ago
David Pokora 05cab3548c
inheritance-graph: Give digraph a blank name, otherwise it will be interpretted as "%0" and will be used as the title/tooltip for all blank space. 6 years ago
David Pokora fed1e95a3a
Changed inheritance-graph shadowing state variable color to red (as it's most likely an error). 6 years ago
David Pokora 3112c3b8c5
Updated test for less bloat + better readability in graph. 6 years ago
David Pokora d1b0c1d5b0
* Changed inheritance-graph to only show variables explicitly defined in the parent contract, instead of inherited. 6 years ago
David Pokora 8335faae8b
* Numbered edges in inheritance-graph to denote order of inheritance. 6 years ago
David Pokora 387d5efea5
* Added state variable shadowing detection to inheritance_analysis. 6 years ago
David Pokora 019d3da211
Updates to inheritance_analysis.py's detect_function_shadowing to not include c3 collisions which end up neutralized by later inheriting contracts in a multi-inheritance scheme. 6 years ago
David Pokora 1f81f820a8
inheritance-graph: Only highlight shadowed functions (not shadowing). 6 years ago