Solidity, the Smart Contract Programming Language
753 matches across 12 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | test/cmdlineTests.sh | 3 | #------------------------------------------------------------------------------ |
| MEDIUM | test/cmdlineTests.sh | 10 | # ------------------------------------------------------------------------------ |
| MEDIUM | test/cmdlineTests.sh | 27 | #------------------------------------------------------------------------------ |
| MEDIUM | test/external_tests.py | 3 | # ------------------------------------------------------------------------------ |
| MEDIUM | test/external_tests.py | 20 | # ------------------------------------------------------------------------------ |
| MEDIUM | test/localeTest.sh | 3 | #------------------------------------------------------------------------------ |
| MEDIUM | test/localeTest.sh | 11 | # ------------------------------------------------------------------------------ |
| MEDIUM | test/localeTest.sh | 28 | #------------------------------------------------------------------------------ |
| MEDIUM | test/libsolutil/DominatorFinderTest.cpp | 247 | // ┌────►A──────┐ |
| MEDIUM | test/libsolutil/DominatorFinderTest.cpp | 254 | // └───►G◄─┴─────┘ |
| MEDIUM | test/libsolutil/DominatorFinderTest.cpp | 301 | // ┌─────────┐ |
| MEDIUM | test/libsolutil/DominatorFinderTest.cpp | 306 | // │ ┌──►C◄───── B──┬──────┐ |
| MEDIUM | test/libsolutil/DominatorFinderTest.cpp | 310 | // │ │ D──┘ ┌───►E◄─────I |
| MEDIUM | test/libsolutil/DominatorFinderTest.cpp | 315 | // │ └───┼─────┼────F └─►H |
| MEDIUM | test/libsolutil/DominatorFinderTest.cpp | 319 | // │ └─────┴─G◄─┴──────┘ |
| MEDIUM | test/libsolutil/DominatorFinderTest.cpp | 321 | // └─────────────┘ |
| MEDIUM | test/externalTests/bleeps.sh | 3 | # ------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/bleeps.sh | 20 | #------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/gnosis.sh | 3 | # ------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/gnosis.sh | 20 | #------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/prb-math.py | 3 | # ------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/prb-math.py | 20 | # ------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/euler.sh | 3 | # ------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/euler.sh | 20 | #------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/uniswap.sh | 3 | # ------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/uniswap.sh | 20 | #------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/brink.sh | 3 | # ------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/brink.sh | 20 | #------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/ens.sh | 3 | # ------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/ens.sh | 20 | #------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/gp2.sh | 3 | # ------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/gp2.sh | 20 | #------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/zeppelin.sh | 3 | # ------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/zeppelin.sh | 20 | #------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/chainlink.sh | 3 | # ------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/chainlink.sh | 20 | #------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/yield-liquidator.sh | 3 | # ------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/yield-liquidator.sh | 20 | #------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/elementfi.sh | 3 | # ------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/elementfi.sh | 20 | #------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/trident.sh | 3 | # ------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/trident.sh | 20 | #------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/colony.sh | 3 | # ------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/colony.sh | 20 | #------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/pool-together.sh | 3 | # ------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/pool-together.sh | 20 | #------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/solc-js/solc-js.sh | 3 | # ------------------------------------------------------------------------------ |
| MEDIUM | test/externalTests/solc-js/solc-js.sh | 20 | #------------------------------------------------------------------------------ |
| MEDIUM | test/benchmarks/external.sh | 3 | #------------------------------------------------------------------------------ |
| MEDIUM | test/benchmarks/external.sh | 15 | # ------------------------------------------------------------------------------ |
| MEDIUM | test/benchmarks/external.sh | 32 | #------------------------------------------------------------------------------ |
| MEDIUM | test/benchmarks/external-setup.sh | 3 | #------------------------------------------------------------------------------ |
| MEDIUM | test/benchmarks/external-setup.sh | 10 | # ------------------------------------------------------------------------------ |
| MEDIUM | test/benchmarks/external-setup.sh | 27 | #------------------------------------------------------------------------------ |
| MEDIUM | test/benchmarks/local.sh | 3 | #------------------------------------------------------------------------------ |
| MEDIUM | test/benchmarks/local.sh | 5 | # ------------------------------------------------------------------------------ |
| MEDIUM | test/benchmarks/local.sh | 22 | #------------------------------------------------------------------------------ |
| MEDIUM | docs/docs.sh | 3 | #------------------------------------------------------------------------------ |
| MEDIUM | docs/docs.sh | 10 | # ------------------------------------------------------------------------------ |
| MEDIUM | docs/docs.sh | 27 | #------------------------------------------------------------------------------ |
| 87 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | solc/CommandLineInterface.h | 21 | * Solidity command line interface. |
| LOW | solc/CommandLineInterface.h | 61 | /// expected to exit with a non-zero exit code despite there being no error. |
| LOW | solc/CommandLineInterface.h | 121 | void handleEthdebug(std::string const& _contract); |
| LOW | solc/CommandLineInterface.cpp | 21 | * @date 2014 |
| LOW | solc/CommandLineInterface.cpp | 41 | #include <libsolidity/lsp/LanguageServer.h> |
| LOW | solc/CommandLineInterface.cpp | 61 | #include <memory> |
| LOW | solc/CommandLineParser.h | 21 | #pragma once |
| LOW | solc/CommandLineParser.h | 301 | /// The object can be used to parse command-line arguments or to generate the help screen. |
| LOW | libevmasm/AssemblyItem.h | 21 | */ |
| LOW | libevmasm/Assembly.cpp | 21 | */ |
| LOW | libevmasm/KnownState.h | 21 | * @date 2015 |
| LOW | libevmasm/KnownState.h | 41 | #pragma warning(pop) |
| LOW | libevmasm/KnownState.h | 161 | /// and stores the new value at the given slot. |
| LOW | libevmasm/Assembly.h | 21 | #include <libevmasm/Instruction.h> |
| LOW | libevmasm/LinkerObject.h | 61 | { |
| LOW | libevmasm/Inliner.cpp | 21 | */ |
| LOW | libevmasm/SemanticInformation.h | 61 | /// Unknown if not provided. |
| LOW | libevmasm/CommonSubexpressionEliminator.h | 21 | * @date 2015 |
| LOW | libevmasm/GasMeter.h | 241 | /// @returns the gas cost of the supplied data, depending whether it is in creation code, or not. |
| LOW | libsolutil/Numeric.h | 21 | |
| LOW | libsolutil/CommonData.h | 21 | * |
| LOW | libsolutil/CommonData.h | 441 | |
| LOW | libsolutil/CommonData.h | 581 | /// If the function does not return a vector, the iteration continues with an overlapping |
| LOW | libsolutil/StringUtils.h | 41 | // Calculates the Damerau–Levenshtein distance between _str1 and _str2 and returns true if that distance is not greater |
| LOW | libsolutil/StringUtils.h | 101 | return {}; |
| LOW | libsolutil/Exceptions.h | 21 | #include <liblangutil/SourceLocation.h> |
| LOW | libsolutil/Exceptions.h | 81 | /// exception was thrown from. |
| LOW | libsolutil/Result.h | 21 | |
| LOW | libsolutil/Visitor.h | 61 | // (Run-Time Check Failure #2 - Stack around the variable '....' was corrupted). |
| LOW | libsolutil/Common.h | 21 | * |
| LOW | libsolutil/picosha2.h | 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
| LOW | libsolutil/DominatorFinder.h | 21 | * https://www.cs.princeton.edu/courses/archive/spr03/cs423/download/dominators.pdf |
| LOW | libsolutil/DominatorFinder.h | 381 | /// The entry vertex is the first element of the vector. |
| LOW | libsolutil/DominatorFinder.h | 401 | /// Maps a vertex' DFS index (i.e. array index) to its immediate dominator DFS index. |
| LOW | libsolutil/Profiler.h | 21 | #include <chrono> |
| LOW | liblangutil/Exceptions.h | 21 | * Solidity exception hierarchy. |
| LOW | liblangutil/Token.h | 1 | // Copyright 2006-2012, the V8 project authors. All rights reserved. |
| LOW | liblangutil/Token.h | 21 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| LOW | liblangutil/Token.h | 41 | // along with solidity. If not, see <http://www.gnu.org/licenses/>. |
| LOW | liblangutil/Token.cpp | 1 | // Copyright 2006-2012, the V8 project authors. All rights reserved. |
| LOW | liblangutil/Token.cpp | 21 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| LOW | tools/yulPhaser/Mutations.h | 61 | |
| LOW | tools/yulPhaser/Mutations.h | 81 | /// unless there is no other choice (i.e. one of the chromosomes is empty). |
| LOW | tools/yulPhaser/Program.cpp | 21 | #include <liblangutil/CharStream.h> |
| LOW | tools/yulPhaser/Phaser.cpp | 21 | #include <tools/yulPhaser/AlgorithmRunner.h> |
| LOW | tools/yulPhaser/Phaser.h | 21 | */ |
| LOW | tools/yulPhaser/Common.h | 21 | |
| LOW | test/Common.cpp | 21 | #include <test/EVMHost.h> |
| LOW | test/cmdlineTests.sh | 1 | #!/usr/bin/env bash |
| LOW | test/TestCase.h | 61 | /// Each line of output is prefixed with @arg _linePrefix. |
| LOW | test/CommonSyntaxTest.cpp | 21 | #include <test/TestCase.h> |
| LOW | test/InteractiveTests.h | 21 | #include <test/TestCase.h> |
| LOW | test/InteractiveTests.h | 41 | #include <test/libyul/EVMCodeTransformTest.h> |
| LOW | test/EVMHost.cpp | 21 | */ |
| LOW | test/soltest.cpp | 21 | * Stub for generating main boost.test module. |
| LOW | test/external_tests.py | 1 | #!/usr/bin/env python3 |
| LOW | test/localeTest.sh | 1 | #!/usr/bin/env bash |
| LOW | test/ExecutionFramework.h | 21 | * Framework for executing contracts and testing them using RPC. |
| LOW | test/solc/CommandLineInterfaceAllowPaths.cpp | 21 | #include <solc/CommandLineInterface.h> |
| LOW | test/solc/CommandLineInterface.cpp | 21 | #include <solc/CommandLineInterface.h> |
| 347 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | test/cmdlineTests.sh | 11 | # This file is part of solidity. |
| MEDIUM | test/lsp.py | 1425 | # This file is analyzed because it was imported via "A/B/C/foo.sol". |
| MEDIUM | test/external_tests.py | 4 | # This file is part of solidity. |
| MEDIUM | test/localeTest.sh | 12 | # This file is part of solidity. |
| MEDIUM | test/externalTests/bleeps.sh | 4 | # This file is part of solidity. |
| MEDIUM | test/externalTests/gnosis.sh | 4 | # This file is part of solidity. |
| MEDIUM | test/externalTests/prb-math.py | 4 | # This file is part of solidity. |
| MEDIUM | test/externalTests/euler.sh | 4 | # This file is part of solidity. |
| MEDIUM | test/externalTests/uniswap.sh | 4 | # This file is part of solidity. |
| MEDIUM | test/externalTests/brink.sh | 4 | # This file is part of solidity. |
| MEDIUM | test/externalTests/ens.sh | 4 | # This file is part of solidity. |
| MEDIUM | test/externalTests/gp2.sh | 4 | # This file is part of solidity. |
| MEDIUM | test/externalTests/zeppelin.sh | 4 | # This file is part of solidity. |
| MEDIUM | test/externalTests/chainlink.sh | 4 | # This file is part of solidity. |
| MEDIUM | test/externalTests/yield-liquidator.sh | 4 | # This file is part of solidity. |
| MEDIUM | test/externalTests/elementfi.sh | 4 | # This file is part of solidity. |
| MEDIUM | test/externalTests/trident.sh | 4 | # This file is part of solidity. |
| MEDIUM | test/externalTests/colony.sh | 4 | # This file is part of solidity. |
| MEDIUM | test/externalTests/pool-together.sh | 4 | # This file is part of solidity. |
| MEDIUM | test/externalTests/solc-js/solc-js.sh | 4 | # This file is part of solidity. |
| MEDIUM | test/benchmarks/external.sh | 16 | # This file is part of solidity. |
| MEDIUM | test/benchmarks/external-setup.sh | 11 | # This file is part of solidity. |
| MEDIUM | test/benchmarks/local.sh | 6 | # This file is part of solidity. |
| MEDIUM | docs/conf.py | 7 | # This file is execfile()d with the current directory set to its |
| MEDIUM | docs/docs.sh | 11 | # This file is part of solidity. |
| MEDIUM | scripts/common.sh | 4 | # This file is part of solidity. |
| MEDIUM | scripts/get_version.sh | 11 | # This file is part of solidity. |
| MEDIUM | scripts/test_emscripten.sh | 11 | # This file is part of solidity. |
| MEDIUM | scripts/build_emscripten.sh | 11 | # This file is part of solidity. |
| MEDIUM | scripts/get_nightly_version.sh | 12 | # This file is part of solidity. |
| MEDIUM | scripts/docs_version_pragma_check.sh | 4 | # This file is part of solidity. |
| MEDIUM | scripts/tests.sh | 11 | # This file is part of solidity. |
| MEDIUM | scripts/ASTImportTest.sh | 4 | # This file is part of solidity. |
| MEDIUM | scripts/list_contributors.sh | 15 | # This file is part of solidity. |
| MEDIUM | scripts/yul_coverage.sh | 36 | # This file is part of solidity. |
| MEDIUM | scripts/common_cmdline.sh | 4 | # This file is part of solidity. |
| MEDIUM | scripts/docker_deploy_manual.sh | 28 | # Create a classic PAT with write:packages scope by visiting the following URL: |
| MEDIUM | scripts/wasm-rebuild/docker-scripts/genbytecode.sh | 10 | # This file is part of solidity. |
| MEDIUM | scripts/ci/build_emscripten.sh | 17 | # This file is part of solidity. |
| MEDIUM | scripts/ci/buildpack-deps_test_emscripten.sh | 17 | # This file is part of solidity. |
| MEDIUM | scripts/bytecodecompare/prepare_report.py | 350 | # Create a copy that we can use directly with the CLI interface |
| MEDIUM | scripts/externalTests/update_external_repos.sh | 21 | # This file is part of solidity. |
| MEDIUM | scripts/externalTests/common.sh | 4 | # This file is part of solidity. |
| MEDIUM | scripts/externalTests/summarize_benchmarks.sh | 16 | # This file is part of solidity. |
| MEDIUM | scripts/externalTests/test_helpers.py | 4 | # This file is part of solidity. |
| MEDIUM | scripts/externalTests/merge_benchmarks.sh | 15 | # This file is part of solidity. |
| MEDIUM | scripts/externalTests/runners/foundry.py | 4 | # This file is part of solidity. |
| MEDIUM | scripts/externalTests/runners/base.py | 4 | # This file is part of solidity. |
| MEDIUM | …pts/solc-bin/bytecode_reports_for_modified_binaries.sh | 32 | # This file is part of solidity. |
| MEDIUM | scripts/solc-bin/compare_bytecode_reports.sh | 18 | # This file is part of solidity. |
| MEDIUM | .circleci/soltest.sh | 18 | # This file is part of solidity. |
| MEDIUM | .circleci/compare_bytecode_reports.sh | 8 | # This file is part of solidity. |
| MEDIUM | .circleci/osx_install_dependencies.sh | 10 | # This file is part of solidity. |
| MEDIUM | .circleci/parallel_bytecode_report.sh | 12 | # This file is part of solidity. |
| MEDIUM | .circleci/soltest_all.sh | 10 | # This file is part of solidity. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/lsp.py | 680 | def user_interaction_failed_method_test( |
| LOW | test/lsp.py | 981 | def require_params_for_method(self, method_name: str, message: dict) -> Any: |
| LOW | test/lsp.py | 1023 | def fetch_and_format_diagnostics(self, solc: JsonRpcProcess, test, sub_dir=None): |
| LOW | test/lsp.py | 1048 | def update_diagnostics_in_file( |
| LOW | test/lsp.py | 1071 | def open_file_and_wait_for_diagnostics( |
| LOW | test/lsp.py | 1184 | def expect_goto_definition_location( |
| LOW | test/lsp.py | 1278 | def user_interaction_failed_diagnostics( |
| LOW | test/lsp.py | 1313 | def user_interaction_failed_autoupdate(self, test, sub_dir): |
| LOW | test/lsp.py | 1338 | def test_analyze_all_project_files_flat(self, solc: JsonRpcProcess) -> None: |
| LOW | test/lsp.py | 1371 | def test_analyze_all_project_files_nested(self, solc: JsonRpcProcess) -> None: |
| LOW | test/lsp.py | 1393 | def test_analyze_all_project_files_nested_with_include_paths(self, solc: JsonRpcProcess) -> None: |
| LOW | test/lsp.py | 1431 | def test_publish_diagnostics_errors_multiline(self, solc: JsonRpcProcess) -> None: |
| LOW | test/lsp.py | 1543 | def test_custom_includes_with_full_project(self, solc: JsonRpcProcess) -> None: |
| LOW | test/external_tests.py | 43 | def display_available_external_tests(_): |
| LOW | test/ethdebugSchemaTests/conftest.py | 32 | def ethdebug_schema_repository(ethdebug_schema_dir): |
| LOW | …ethdebugSchemaTests/test_ethdebug_schema_conformity.py | 107 | def test_resources_match_standard_json_sources(solc_output): |
| LOW | …ethdebugSchemaTests/test_ethdebug_schema_conformity.py | 116 | def test_resources_include_standard_json_source_contents(standard_json_input, solc_output): |
| LOW | …ethdebugSchemaTests/test_ethdebug_schema_conformity.py | 128 | def test_resources_include_empty_type_and_pointer_tables(solc_output): |
| LOW | …ethdebugSchemaTests/test_ethdebug_schema_conformity.py | 133 | def test_resources_and_compilation_share_compilation(solc_output): |
| LOW | test/evmc/evmc.h | 1131 | typedef evmc_capabilities_flagset (*evmc_get_capabilities_fn)(struct evmc_vm* vm); |
| LOW | …ts/~bytecode_equivalence_with_unused_contracts/test.py | 21 | def test_bytecode_equivalence(): |
| LOW | …ivalence_independent_of_import_discovery_order/test.py | 21 | def test_bytecode_equivalence(): |
| LOW | test/scripts/test_externalTests_benchmark_downloader.py | 226 | def test_download_benchmarks_branch(download_file_mock): |
| LOW | test/scripts/test_externalTests_benchmark_downloader.py | 248 | def test_download_benchmarks_pr(download_file_mock): |
| LOW | test/scripts/test_externalTests_benchmark_downloader.py | 270 | def test_download_benchmarks_base_of_pr(download_file_mock): |
| LOW | test/scripts/test_externalTests_benchmark_downloader.py | 291 | def test_download_benchmarks_unauthorized_request(self, _): |
| LOW | test/scripts/test_externalTests_benchmark_diff.py | 131 | def _assert_single_value_diff_matches(self, differ, cases, nest_result=True, nestings=None): |
| LOW | test/scripts/test_externalTests_benchmark_diff.py | 153 | def test_number_diff_absolute_json(self): |
| LOW | test/scripts/test_externalTests_benchmark_diff.py | 213 | def test_number_diff_humanized_json_and_console(self): |
| LOW | test/scripts/test_externalTests_benchmark_diff.py | 243 | def test_number_diff_humanized_markdown(self): |
| LOW | test/scripts/test_externalTests_benchmark_diff.py | 385 | def test_diff_table_formatter(self): |
| LOW | test/scripts/test_externalTests_benchmark_diff.py | 393 | def test_diff_table_formatter_json_absolute(self): |
| LOW | test/scripts/test_externalTests_benchmark_diff.py | 447 | def test_diff_table_formatter_console_relative(self): |
| LOW | test/scripts/test_externalTests_benchmark_diff.py | 476 | def test_diff_table_formatter_markdown_humanized(self): |
| LOW | test/scripts/test_gas_diff_stats.py | 12 | def test_collect_statistics_should_fail_on_empty_diff(self): |
| LOW | test/scripts/test_gas_diff_stats.py | 16 | def test_collect_statistics_should_accept_whitespace_only_diff(self): |
| LOW | test/scripts/test_gas_diff_stats.py | 22 | def test_collect_statistics_should_report_sum_of_gas_costs(self): |
| LOW | test/scripts/test_gas_diff_stats.py | 58 | def test_collect_statistics_should_ignore_ir_costs(self): |
| LOW | test/scripts/test_gas_diff_stats.py | 77 | def test_collect_statistics_should_ignore_unchanged_costs(self): |
| LOW | test/scripts/test_gas_diff_stats.py | 95 | def test_collect_statistics_should_include_code_deposit_in_total_cost(self): |
| LOW | test/scripts/test_bytecodecompare_prepare_report.py | 91 | def test_format_report_should_print_error_if_contract_report_list_is_missing(self): |
| LOW | test/scripts/test_bytecodecompare_prepare_report.py | 98 | def test_format_report_should_not_print_anything_if_contract_report_list_is_empty(self): |
| LOW | test/scripts/test_bytecodecompare_prepare_report.py | 107 | def test_aggregate_bytecode_and_metadata_present(self): |
| LOW | test/scripts/test_bytecodecompare_prepare_report.py | 112 | def test_aggregate_bytecode_missing(self): |
| LOW | test/scripts/test_bytecodecompare_prepare_report.py | 117 | def test_aggregate_metadata_missing(self): |
| LOW | test/scripts/test_bytecodecompare_prepare_report.py | 122 | def test_aggregate_no_contract_reports(self): |
| LOW | test/scripts/test_bytecodecompare_prepare_report.py | 127 | def test_aggregate_missing_contract_report_list(self): |
| LOW | test/scripts/test_bytecodecompare_prepare_report.py | 132 | def test_aggregate_multiple_contract_reports(self): |
| LOW | test/scripts/test_bytecodecompare_prepare_report.py | 157 | def test_load_source_should_strip_smt_pragmas_if_requested(self): |
| LOW | test/scripts/test_bytecodecompare_prepare_report.py | 166 | def test_load_source_should_not_strip_smt_pragmas_if_not_requested(self): |
| LOW | test/scripts/test_bytecodecompare_prepare_report.py | 170 | def test_load_source_preserves_lf_newlines(self): |
| LOW | test/scripts/test_bytecodecompare_prepare_report.py | 180 | def test_load_source_preserves_crlf_newlines(self): |
| LOW | test/scripts/test_bytecodecompare_prepare_report.py | 190 | def test_load_source_preserves_cr_newlines(self): |
| LOW | test/scripts/test_bytecodecompare_prepare_report.py | 200 | def test_load_source_preserves_mixed_newlines(self): |
| LOW | test/scripts/test_bytecodecompare_prepare_report.py | 376 | def test_parse_standard_json_output_should_report_error_on_compiler_errors(self): |
| LOW | test/scripts/test_bytecodecompare_prepare_report.py | 382 | def test_parse_standard_json_output_should_report_error_on_empty_json(self): |
| LOW | test/scripts/test_bytecodecompare_prepare_report.py | 387 | def test_parse_standard_json_output_should_report_error_if_contracts_is_empty(self): |
| LOW | test/scripts/test_bytecodecompare_prepare_report.py | 394 | def test_parse_standard_json_output_should_report_error_if_every_file_has_no_contracts(self): |
| LOW | test/scripts/test_bytecodecompare_prepare_report.py | 425 | def test_parse_standard_json_output_should_report_error_on_unimplemented_feature_error(self): |
| LOW | test/scripts/test_bytecodecompare_prepare_report.py | 430 | def test_parse_standard_json_output_should_report_error_on_stack_too_deep_error(self): |
| 40 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/lsp.py | 571 | |
| LOW | test/lsp.py | 657 | |
| LOW | test/lsp.py | 727 | |
| LOW | test/lsp.py | 779 | |
| LOW | test/lsp.py | 1224 | |
| LOW | test/lsp.py | 1278 | |
| LOW | test/lsp.py | 1473 | |
| LOW | test/lsp.py | 1645 | |
| LOW | test/lsp.py | 790 | |
| LOW | scripts/pylint_all.py | 19 | |
| LOW | scripts/extract_test_cases.py | 12 | |
| LOW | scripts/isolate_tests.py | 74 | |
| LOW | scripts/isolate_tests.py | 114 | |
| LOW | scripts/error_codes.py | 112 | |
| LOW | scripts/error_codes.py | 349 | |
| LOW | scripts/bytecodecompare/prepare_report.py | 368 | |
| LOW | scripts/externalTests/benchmark_diff.py | 136 | |
| LOW | scripts/externalTests/parse_eth_gas_report.py | 188 | |
| LOW | scripts/externalTests/download_benchmarks.py | 117 | |
| LOW | scripts/common/rest_api_helpers.py | 16 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | test/formal/combine_byte_shr_1.py | 7 | given B % 8 == 0 && A < n_bits/8 && B <= n_bits && A >= B / 8 |
| HIGH | test/formal/rule.py | 30 | self.solver.push() |
| HIGH | test/formal/combine_byte_shl.py | 7 | given B % 8 == 0 && A <= 32 && B <= 256 |
| HIGH | scripts/regressions.py | 109 | cmd = f"find {corpus_dir} -type f | xargs -n1 sh -c '{fuzzer} $0 || exit 255'" |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/localeTest.sh | 8 | # Usage: |
| LOW | scripts/list_contributors.sh | 11 | # Usage: |
| LOW | scripts/yul_coverage.sh | 6 | # Usage: |
| LOW | scripts/externalTests/update_external_repos.sh | 13 | # Usage: |
| LOW | scripts/externalTests/summarize_benchmarks.sh | 8 | # Usage: |
| LOW | scripts/externalTests/merge_benchmarks.sh | 7 | # Usage: |
| LOW | …pts/solc-bin/bytecode_reports_for_modified_binaries.sh | 16 | # Usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/lsp.py | 641 | except Exception: |
| LOW | test/lsp.py | 898 | except Exception as e: # pragma pylint: disable=broad-except |
| LOW | test/lsp.py | 1304 | except Exception as e: |
| MEDIUM | test/external_tests.py | 144 | print(f"Error: {exception}", file=sys.stderr) |
| MEDIUM | test/external_tests.py | 147 | print(f"Error: {exception}", file=sys.stderr) |
| MEDIUM | scripts/error_codes.py | 22 | print(f"Error reading: {file_name}") |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | docs/_static/js/initialize.js | 158 | // TODO: We should consider a more robust way to handle this in the future. |
| LOW | scripts/yul_coverage.sh | 20 | # e.g. ./yul_coverage.sh --successful --list-files will just return a list of |
| LOW | scripts/yul_coverage.sh | 29 | # To change the used compiler, just set the SOLC environment variable. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/lsp.py | 813 | # Check if we need markers from a specific file |
| LOW | …pts/solc-bin/bytecode_reports_for_modified_binaries.sh | 107 | # Set locale to C to prevent it from affecting glob sort order. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/tools/ossfuzz/protoToYul.cpp | 1283 | // This variable stores the <string> part i.e., literal minus the first and last |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/lsp.py | 4 |