Commit Graph

3560 Commits (3fb564fbc3c9fd6fb144f6a6e02bef3733d3c8a0)
 

Author SHA1 Message Date
Josselin eaf1c99ffe Slither-format: 6 years ago
rajeevgopalakrishna 9c7f71fa12 Adds multiline formatting changes. 6 years ago
rajeevgopalakrishna 37cdcc12c5 Makes regex stricter for external-function detector. 6 years ago
rajeevgopalakrishna 32120be441 Adds use of get_contract_from_name and other loop optimizations. 6 years ago
rajeevgopalakrishna b9962c0d96 Adds five more real-world non-trivial contracts for testing. 6 years ago
rajeevgopalakrishna 9e482a4f92 Adds patch file creation. Keeps track of relative and absolute file names. Fixes bug in patch overlap and naming-convention of function definition/calls and contract function variable. 6 years ago
rajeevgopalakrishna f4b679a0f7 Adds slither-format to setup.py. 6 years ago
rajeevgopalakrishna 10e31b0893 Fixes a false alarm about converting the empty string parameter name to mixedCase (#260). 6 years ago
rajeevgopalakrishna 0e078d0d5d Fixes false alert in naming-convention detector on empty string parameter name. 6 years ago
rajeevgopalakrishna 85c3133634 Addresses source mapping utf-8 related issue fixed by #252. 6 years ago
rajeevgopalakrishna 4b09dc702b Adds missing import of sys. 6 years ago
rajeevgopalakrishna e137cc4f46 Merges with dev. 6 years ago
Feist Josselin 4fe2eb169e
Merge pull request #252 from crytic/dev-fix-utf8lines 6 years ago
Feist Josselin 9136391c14
Merge pull request #254 from crytic/dev-add-state-variables-ordered 6 years ago
Josselin 6d86220a53 Improve exceptions catching 6 years ago
rajeevgopalakrishna 9f49a95325 Adds check for function parameter write to prevent reporting public -> external visibility change. 6 years ago
Josselin 00ee4637b8 Fix incorrect highlevel call lookup 6 years ago
rajeevgopalakrishna 6c1dd58eec Fixes a regex bug (missing space) in formatting external-function. 6 years ago
Josselin 29e8a3a905 API add: contract.state_variables_ordered: keep variables declaration order + shadowed variables 6 years ago
rajeevgopalakrishna 99c1fcdd10 Enables logging. 6 years ago
rajeevgopalakrishna fda131811e Merges with dev. Supports most recent changes to detector json output. 6 years ago
David Pokora c1fc109e77
Added test for source mapping. Fixed total source length calculation 6 years ago
David Pokora 79a4a10304
Fixed a source mapping issue with utf8 characters where length != byte length 6 years ago
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
Josselin a97903836c Fix incorrect source mapping on if/while/for condition (close #245) 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
Feist Josselin c81c32d31c
Merge pull request #213 from crytic/dev-fix-c3-linearalization 6 years ago
Josselin 6a473c7e87 Minor 6 years ago
Josselin 9439ed65e2 Merge branch 'dev' into dev-fix-c3-linearalization 6 years ago
Feist Josselin 66c1b53b5a
Merge pull request #237 from crytic/dev-slither-changes-for-slither-format-new 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
Xiao Liang b22799ccc8 build.docker: install and run as normal user, copy code from current directory, add .dockerignore file 6 years ago
Josselin 7cadf980b8 v0.6.4 6 years ago
Josselin 29fb9371cd Update to crytic-compile 0.1.1 6 years ago
Feist Josselin ede3765dba
Merge pull request #242 from crytic/dev-fix-regex-sourceunit 6 years ago
Josselin a8a399b809 Fix regex in source unit parsing (space bug) 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