Commit Graph

109 Commits (80db6cc543136fed39967827fe08bdf849d49c30)

Author SHA1 Message Date
Josselin 80db6cc543 slither-format: improve error handling 6 years ago
Josselin 91b8b7da93 Fix typo 6 years ago
Josselin ba88275992 Naming convention detector: Allow _ for private/internal function 6 years ago
Josselin 741591191e slither-format: generate floating solc version 6 years ago
Josselin b94f5e21c0 Improve patch generation 6 years ago
Josselin a0e220b644 Fix minor bugs, improve patch generation 6 years ago
Josselin 3491de659e Add missing __init__.py files 6 years ago
Josselin e1c4ac6e6c slither-format: 6 years ago
Josselin 8fd5b9533a Use difflib to generate patches (WIP) 6 years ago
Josselin 63a07f6ccd naming convention format: Factor together declaration/definition patch generation 6 years ago
Josselin ed239cf970 Minor 6 years ago
Josselin 52f09f95a3 Update to origin/dev-slither-format-tool-only-new 6 years ago
Josselin 0dacdddaa4 slither-format : use utils.patches.create_patch in naming convention 6 years ago
Josselin 7f8289aad0 slither-format: simplify loop iteration on contracts 6 years ago
Josselin aecd47c7d3 slither-format: refactor naming convention 6 years ago
Josselin 7c51caf998 slither-format: remove objects pattern (Todo: naming convention) 6 years ago
Josselin a0f7be75de slither-format: 6 years ago
Josselin 5b0a788766 slither-format: clean code 6 years ago
rajeevgopalakrishna f2b89aaa0b slither-format: 6 years ago
rajeevgopalakrishna 5f7e38869a Updated README's To-do list of known limitations. 6 years ago
rajeevgopalakrishna c8c7c7c799 slither-format: 6 years ago
rajeevgopalakrishna 09e32f1676 slither-format: 6 years ago
rajeevgopalakrishna dd631a1a08 - Fixes contract naming convention to include interface & library 6 years ago
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 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 6c1dd58eec Fixes a regex bug (missing space) in formatting external-function. 6 years ago
rajeevgopalakrishna 99c1fcdd10 Enables logging. 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
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