Commit Graph

75 Commits (fda131811e358121528ee6471eccf2d1d47fedd4)

Author SHA1 Message Date
rajeevgopalakrishna 91ce3b701e Adds debug prints. Adds CryptoKitty Core test which fails because of incorrect source mappings? 6 years ago
rajeevgopalakrishna ebb5502ac9 Adds support for crytic_compile cryticparser. 6 years ago
rajeevgopalakrishna 128f1a3ced Fixes uninitialised variable bugh! Manifests when patch count is zero. 6 years ago
rajeevgopalakrishna 2e93076528 Adds support for inheritance in naming-convention of modifier uses. 6 years ago
rajeevgopalakrishna da8f14c84b Adds support for inheritance in naming-convention of event calls. 6 years ago
rajeevgopalakrishna be84d6618a Adds support for inheritance in naming-convention of enums. 6 years ago
rajeevgopalakrishna 54f3f26e8a Adds support for inheritance in naming-convention of structure variables. 6 years ago
rajeevgopalakrishna f8a07a90e1 Moves the inheritance testing to existing test. 6 years ago
rajeevgopalakrishna 2724365c60 Adds support for inheritance in naming-convention of state variables. 6 years ago
rajeevgopalakrishna 3e68ffc8a2 Adds overlapping patch detection and pruning. Adds a test for detector combinations. 6 years ago
rajeevgopalakrishna f60e4d4915 Adds --verbose-json option to print patches in json format. The earlier --verbose option is now --verbose-test for use with unit tests. 6 years ago
rajeevgopalakrishna 2c987ad250 Corrects list of available detectors for usage --help 6 years ago
rajeevgopalakrishna 92792bcdb3 Adds minor formatting edits to README.md 6 years ago
rajeevgopalakrishna d2422dc649 Adds README.md 6 years ago
rajeevgopalakrishna 993418b2f4 Updates .gitignore to exclude emacs backup files ending in ~ 6 years ago
rajeevgopalakrishna c2461693da Simplifies format_external_function to focus on public/implicit visibility specifier. 6 years ago
rajeevgopalakrishna a450661cd0 Refined format_constant_function to focus on the specific (view|pure|constant) string. 6 years ago
rajeevgopalakrishna 36afdca50e Changes use of parameters_src and returns_src to source_mapping objects instead of raw source text. 6 years ago
rajeevgopalakrishna f0fa6c6d2c Use source_mapping of variables/events directly instead of get_source_event/var_declaration, which will be removed from slither. 6 years ago
ggrieco-tob a9466230a8 final fixes 6 years ago
rajeevgopalakrishna 4d687c504d Updates format_naming_convention to use filename_absolute and other JSON output field updates. Removed the use of event.full_name to simply use name instead (so PR #236 not required). naming-convention tests pass (except the index variable test which is expected to fail); run_all_tests passes except that one. Testing requires checking out slither core/parsing changes from dev-slither-changes-for-slither-format-new. 6 years ago
Josselin 140ea6fd0b Remove Solidity dependencies 6 years ago
Josselin 2047ca6e88 Minor improvements in slither-similar: 6 years ago
rajeevgopalakrishna ced9498f56 Updates format_external_function to use filename_absolute. test_external_function passes. 6 years ago
rajeevgopalakrishna 82495e608a Updates format_pragma to use filename_absolute and, directive name instead of the earlier expression name. test_pragma passes. Removes patch_file check for now. Need to change verbose output to JSON format and include patch_file then. 6 years ago
rajeevgopalakrishna 8a4f8235bb Updates format_solc_version to use filename_absolute and, directive name instead of the earlier expression name. test_solc_version passes. Removes patch_file check for now. Need to change verbose output to JSON format and include patch_file then. 6 years ago
rajeevgopalakrishna f0e8077ad1 Updates format_constable_states to use filename_absolute. test_constable_states passes. 6 years ago
rajeevgopalakrishna d271973965 Updates format_unused_state to use filename_absolute and apply only to variable types. test_unused_state_vars passes. 6 years ago
rajeevgopalakrishna c25649eda0 Updates format_constant_function to use filename_absolute. test_constant_function passes. 6 years ago
ggrieco-tob d3f9816999 more fixes 6 years ago
ggrieco-tob 7f39c77219 improved module loading 6 years ago
ggrieco-tob 06d70856bd fix 6 years ago
ggrieco-tob 802ab4edb2 fixes 6 years ago
rajeevgopalakrishna 106928f911 All changes specific to slither-format tool, excluding the dependencies on slither parsing/core and detectors. Single commit because of checking out utils/slither_format from dev-slither-format into this branch. 6 years ago
ggrieco-tob ee706bf5a9 fixes and improvements in slither-simil 6 years ago
ggrieco-tob 6c613dde8c fixed formating 6 years ago
ggrieco-tob 1752a1abfb added crytic-compile options into the slither-simil command line 6 years ago
Josselin 843802ff66 Use crytic-compile options in tools 6 years ago
ggrieco-tob 5a1d30e1ab fixes 6 years ago
ggrieco-tob 96c9417705 removed useless module 6 years ago
ggrieco-tob 92a0ca0e22 fixed bug in simil info 6 years ago
Josselin 8af18a884e API change: 6 years ago
Josselin d37bcb6104 Rename original_contract -> contract_declarer 6 years ago
Josselin 654c2c98b7 - add contract.get_function_from_canonical_name (same for modifier 6 years ago
Josselin 3991f6e494 Breaking change: functions and modifiers are not shared accross contracts, each contract has an own copy of all the functions/modifiers 6 years ago
g 2b4edbda8c fixes 6 years ago
ggrieco-tob 1eb8478595 verification of sklearn (optional) dependency 6 years ago
ggrieco-tob 0978700a50 added plot mode 6 years ago
ggrieco-tob d8d7938813 improved logging 6 years ago
ggrieco-tob 8f2bad8905 fixes 6 years ago