Commit Graph

10 Commits (36afdca50e609052eb66819289bf67000bc570f3)

Author SHA1 Message Date
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 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
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