Commit Graph

14 Commits (b9962c0d96f3d55b9a7e6d50cf741464896ed4ad)

Author SHA1 Message Date
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 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 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 2724365c60 Adds support for inheritance in naming-convention of state variables. 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
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
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