Arduino core for the ESP32 family of SoCs
1118 matches across 11 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | CMakeLists.txt | 441 | # linker will always include them. |
| LOW | CMakeLists.txt | 461 | # Effect: esp_log_write() calls → redirected to → __wrap_esp_log_write() |
| LOW | .vale.ini | 1 | ################### |
| LOW | .vale.ini | 21 | # The path value may be absolute or relative to this configuration file. |
| LOW | .vale.ini | 41 | # https://vale.sh/docs/topics/packages/ |
| LOW | .vale.ini | 61 | |
| LOW | …tter_over_OpenThread/main/MatterEnhancedColorLight.cpp | 1 | // Copyright 2025 Espressif Systems (Shanghai) PTE LTD |
| LOW | tools/gen_crt_bundle.py | 1 | #!/usr/bin/env python |
| LOW | tools/gen_esp32part.py | 1 | #!/usr/bin/env python |
| LOW | tools/espota.py | 1 | #!/usr/bin/env python |
| LOW | tools/espota.py | 21 | # - Send command to controller to differ between flashing and transmitting SPIFFS image. |
| LOW | tools/espota.py | 41 | # Changes |
| LOW | tools/pioarduino-build.py | 1 | # Copyright 2014-present PlatformIO <contact@platformio.org> |
| LOW | variants/waveshare_esp32_s3_relay_6ch/pins_arduino.h | 1 | #ifndef Pins_Arduino_h |
| LOW | variants/waveshare_esp32_s3_touch_lcd_21/pins_arduino.h | 1 | #ifndef Pins_Arduino_h |
| LOW | variants/esp32h2-devkit-lipo/pins_arduino.h | 1 | #ifndef Pins_Arduino_h |
| LOW | variants/arduino_nesso_n1/pins_arduino.h | 61 | extern ExpanderPinError _VIN_DETECT; |
| LOW | variants/waveshare_esp32_s3_touch_lcd_28/pins_arduino.h | 1 | #ifndef Pins_Arduino_h |
| LOW | variants/lilygo_tlora_pager/pins_arduino.h | 1 | #ifndef Pins_Arduino_h |
| LOW | variants/lilygo_tlora_pager/pins_arduino.h | 41 | // Interrupt IO port |
| LOW | variants/lilygo_tlora_pager/pins_arduino.h | 61 | #define LORA_MISO (MISO) // share spi bus |
| LOW | variants/lilygo_tlora_pager/pins_arduino.h | 81 | #define EXPANDS_LORA_EN (3) |
| LOW | variants/arduino_nano_nora/pins_arduino.h | 1 | #ifndef Pins_Arduino_h |
| LOW | variants/arduino_nano_nora/pins_arduino.h | 101 | static constexpr uint8_t SDA = A4; |
| LOW | variants/arduino_nano_nora/io_pin_remap.cpp | 1 | #if defined(BOARD_HAS_PIN_REMAP) && !defined(ARDUINO_CORE_BUILD) |
| LOW | variants/arduino_nano_nora/dfu_callbacks.cpp | 1 | #include "Arduino.h" |
| LOW | variants/adafruit_magtag29_esp32s2/pins_arduino.h | 1 | #ifndef Pins_Arduino_h |
| LOW | variants/waveshare_p4_poe_eth/pins_arduino.h | 41 | /* ESP32-P4 EV Function board specific definitions */ |
| LOW | variants/waveshare_p4_poe_eth/pins_arduino.h | 61 | #define BOARD_SDMMC_POWER_PIN 45 |
| LOW | variants/huidu_hd_wf4/pins_arduino.h | 1 | #ifndef Pins_Arduino_h |
| LOW | variants/huidu_hd_wf4/pins_arduino.h | 21 | |
| LOW | variants/huidu_hd_wf4/pins_arduino.h | 41 | #define WF4_X3_R1_PIN 2 |
| LOW | variants/huidu_hd_wf4/pins_arduino.h | 61 | |
| LOW | variants/huidu_hd_wf4/pins_arduino.h | 81 | // S2-S3 PCB holes |
| LOW | variants/waveshare_esp32_s3_touch_lcd_43/pins_arduino.h | 1 | |
| LOW | variants/waveshare_esp32_s3_touch_lcd_43/pins_arduino.h | 21 | #define WS_LCD_B7 10 |
| LOW | variants/waveshare_esp32_s3_touch_lcd_43/pins_arduino.h | 41 | // Touch for gt911 |
| LOW | variants/sensebox_mcu_esp32s2/pins_arduino.h | 1 | #ifndef Pins_Arduino_h |
| LOW | variants/sensebox_mcu_esp32s2/pins_arduino.h | 41 | static const uint8_t MISO = 37; |
| LOW | variants/sensebox_mcu_esp32s2/pins_arduino.h | 61 | #define PIN_XB1_RESET 38 |
| LOW | variants/sensebox_mcu_esp32s2/pins_arduino.h | 101 | #define PD_SENSE 14 |
| LOW | variants/twinaiot/pins_arduino.h | 1 | #ifndef Pins_Arduino_h |
| LOW | …riants/waveshare_esp32_s3_touch_lcd_43b/pins_arduino.h | 1 | |
| LOW | …riants/waveshare_esp32_s3_touch_lcd_43b/pins_arduino.h | 21 | #define WS_LCD_B7 10 |
| LOW | …riants/waveshare_esp32_s3_touch_lcd_43b/pins_arduino.h | 41 | // Touch for gt911 |
| LOW | variants/ttgo-lora32-v1/pins_arduino.h | 1 | #ifndef Pins_Arduino_h |
| LOW | variants/lilygo_twatch_s3/pins_arduino.h | 1 | #ifndef Pins_Arduino_h |
| LOW | variants/lilygo_twatch_s3/pins_arduino.h | 21 | |
| LOW | variants/lilygo_twatch_s3/pins_arduino.h | 61 | #define LORA_CS (5) |
| LOW | variants/m5stack_atoms3/pins_arduino.h | 1 | #ifndef Pins_Arduino_h |
| LOW | variants/adafruit_camera_esp32s3/pins_arduino.h | 1 | #ifndef Pins_Arduino_h |
| LOW | variants/adafruit_camera_esp32s3/pins_arduino.h | 61 | #define AWEXP_BUTTON_UP 13 |
| LOW | variants/heltec_wireless_stick_v3/pins_arduino.h | 1 | #ifndef Pins_Arduino_h |
| LOW | variants/m5stack_nanoc6/pins_arduino.h | 1 | #ifndef Pins_Arduino_h |
| LOW | variants/sparkfun_esp32c5_thing_plus/pins_arduino.h | 1 | #ifndef Pins_Arduino_h |
| LOW | variants/lolin_s2_pico/pins_arduino.h | 1 | #ifndef Pins_Arduino_h |
| LOW | variants/esp32p4_4ds_mipi/pins_arduino.h | 41 | #define LCD_INTERFACE_MIPI |
| LOW | variants/esp32p4_4ds_mipi/pins_arduino.h | 61 | #define I2S_LRCK 10 |
| LOW | variants/huidu_hd_wf2/pins_arduino.h | 1 | #ifndef Pins_Arduino_h |
| LOW | variants/huidu_hd_wf2/pins_arduino.h | 21 | #define WF2_X2_R1_PIN 4 |
| 805 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | platform.txt | 235 | ## --------------------------------- |
| MEDIUM | platform.txt | 240 | ## ------------------ |
| MEDIUM | platform.txt | 242 | ## ------------------ |
| MEDIUM | platform.txt | 245 | # ---------------------- |
| MEDIUM | platform.txt | 335 | ## ------------- |
| MEDIUM | platform.txt | 343 | ## ------------------- |
| MEDIUM | platform.txt | 350 | ## ------------------------------------------ |
| MEDIUM | platform.txt | 358 | ## --------------- |
| MEDIUM | platform.txt | 365 | ## ------------------------------------------- |
| MEDIUM | platform.txt | 371 | ## ------------------------------------------- |
| MEDIUM | platform.txt | 378 | ## ------------------------------------------- |
| MEDIUM | platform.txt | 385 | ## -------------------------------------------------------------------------- |
| MEDIUM | platform.txt | 388 | ## -------------------------------------------------------------------------- |
| MEDIUM | tests/validation/signed_ota/test_signed_ota.py | 84 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/validation/signed_ota/test_signed_ota.py | 86 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/validation/signed_ota/test_signed_ota.py | 235 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/validation/signed_ota/test_signed_ota.py | 237 | # --------------------------------------------------------------------------- |
| MEDIUM | docs/conf_common.py | 1 | # --------------------------------------------------------------- |
| MEDIUM | .github/scripts/test_runtime_table_generator.py | 50 | # --------------------------------------------------------------------------- |
| MEDIUM | .github/scripts/test_runtime_table_generator.py | 52 | # --------------------------------------------------------------------------- |
| MEDIUM | .github/scripts/test_runtime_table_generator.py | 157 | # --------------------------------------------------------------------------- |
| MEDIUM | .github/scripts/test_runtime_table_generator.py | 159 | # --------------------------------------------------------------------------- |
| MEDIUM | .github/scripts/test_runtime_table_generator.py | 574 | # --------------------------------------------------------------------------- |
| MEDIUM | .github/scripts/test_runtime_table_generator.py | 576 | # --------------------------------------------------------------------------- |
| MEDIUM | .github/scripts/socs_config.sh | 10 | # ============================================================================== |
| MEDIUM | .github/scripts/socs_config.sh | 12 | # ============================================================================== |
| MEDIUM | .github/scripts/socs_config.sh | 192 | # ============================================================================== |
| MEDIUM | .github/scripts/socs_config.sh | 194 | # ============================================================================== |
| MEDIUM | .github/scripts/socs_config.sh | 51 | # ============================================================================== |
| MEDIUM | .github/scripts/socs_config.sh | 53 | # ============================================================================== |
| MEDIUM | .github/scripts/socs_config.sh | 89 | # ============================================================================== |
| MEDIUM | .github/scripts/socs_config.sh | 91 | # ============================================================================== |
| MEDIUM | .github/scripts/socs_config.sh | 148 | # ============================================================================== |
| MEDIUM | .github/scripts/socs_config.sh | 150 | # ============================================================================== |
| MEDIUM | .github/scripts/socs_config.sh | 209 | # ============================================================================== |
| MEDIUM | .github/scripts/socs_config.sh | 211 | # ============================================================================== |
| MEDIUM | .github/scripts/socs_config.sh | 236 | # ============================================================================== |
| MEDIUM | .github/scripts/socs_config.sh | 238 | # ============================================================================== |
| MEDIUM | .github/scripts/socs_config.sh | 268 | # ============================================================================== |
| MEDIUM | .github/scripts/socs_config.sh | 270 | # ============================================================================== |
| MEDIUM | .github/scripts/socs_config.sh | 302 | # ============================================================================== |
| MEDIUM | .github/scripts/socs_config.sh | 304 | # ============================================================================== |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .gitlab/scripts/gen_hw_jobs.py | 27 | except Exception as e: |
| LOW | .gitlab/scripts/gen_hw_jobs.py | 46 | except Exception as e: |
| LOW | .gitlab/scripts/gen_hw_jobs.py | 187 | except Exception as e: |
| LOW | .gitlab/scripts/gen_hw_jobs.py | 200 | except Exception as e: |
| LOW | .gitlab/scripts/gen_hw_jobs.py | 205 | except Exception as e2: |
| LOW | .gitlab/scripts/gen_hw_jobs.py | 246 | except Exception: |
| LOW | .gitlab/scripts/gen_hw_jobs.py | 252 | except Exception: |
| LOW | .gitlab/scripts/gen_hw_jobs.py | 256 | except Exception as e: |
| LOW | .gitlab/scripts/gen_hw_jobs.py | 345 | except Exception as e: |
| LOW | tools/gen_esp32part.py | 217 | except Exception: |
| LOW | tools/espota.py | 211 | except Exception as e: |
| LOW | tools/espota.py | 226 | except Exception as e: |
| LOW | tools/espota.py | 416 | except Exception as e: |
| LOW | tools/espota.py | 449 | except Exception as e: |
| LOW | tools/espota.py | 467 | except Exception as e: # noqa: E722 |
| LOW | tools/get.py | 183 | except Exception as e: |
| LOW | tools/get.py | 215 | except Exception as e: |
| MEDIUM | tools/get.py | 104 | def mkdir_p(path): |
| MEDIUM | tools/bin_signing.py | 50 | print(f"Error: Unsupported curve. Supported curves: {', '.join(curves.keys())}") |
| MEDIUM | tools/bin_signing.py | 130 | print(f"Error: Unsupported hash algorithm. Supported: {', '.join(hash_algos.keys())}") |
| MEDIUM | tools/bin_signing.py | 147 | print("Error: Unsupported key type") |
| MEDIUM | tools/bin_signing.py | 179 | print("Error: File too small to contain signature") |
| MEDIUM | tools/bin_signing.py | 197 | print(f"Error: Unsupported hash algorithm. Supported: {', '.join(hash_algos.keys())}") |
| MEDIUM | tools/bin_signing.py | 219 | print("Error: Unsupported key type") |
| LOW | tools/bin_signing.py | 224 | except Exception as e: |
| MEDIUM | tools/bin_signing.py | 274 | print("Error: --out required for key generation") |
| MEDIUM | tools/bin_signing.py | 285 | print("Error: Invalid key type. Supported: rsa-2048, rsa-3072, rsa-4096, ecdsa-p256, ecdsa-p384") |
| MEDIUM | tools/bin_signing.py | 290 | print("Error: --out required for public key extraction") |
| MEDIUM | tools/bin_signing.py | 296 | print("Error: --pubkey required for verification") |
| MEDIUM | tools/bin_signing.py | 302 | print("Error: --out required for signing") |
| LOW | tests/performance/ramspeed/test_ramspeed.py | 127 | except Exception as e: |
| LOW | tests/performance/psramspeed/test_psramspeed.py | 127 | except Exception as e: |
| LOW | tests/performance/superpi/test_superpi.py | 56 | except Exception as e: |
| LOW | tests/performance/linpack_float/test_linpack_float.py | 75 | except Exception as e: |
| LOW | tests/performance/fibonacci/test_fibonacci.py | 83 | except Exception as e: |
| LOW | tests/performance/coremark/test_coremark.py | 61 | except Exception as e: |
| LOW | tests/performance/linpack_double/test_linpack_double.py | 75 | except Exception as e: |
| LOW | tests/validation/periman/test_periman.py | 35 | except Exception as e: # noqa: F841 |
| LOW | tests/validation/signed_ota/test_signed_ota.py | 117 | except Exception: |
| LOW | tests/validation/signed_ota/test_signed_ota.py | 310 | except Exception as e: |
| MEDIUM | tests/validation/signed_ota/test_signed_ota.py | 187 | def copyfile(self, source, outputfile): |
| MEDIUM | libraries/WiFi/examples/WiFiUDPClient/udp_server.py | 46 | print("Error: Failed to get interface IPs using system commands") |
| MEDIUM | libraries/WiFi/examples/WiFiUDPClient/udp_server.py | 59 | print("Error: Failed to get interface IPs using sockets") |
| MEDIUM | libraries/WiFi/examples/WiFiUDPClient/udp_server.py | 63 | print("Error: No network interfaces found. Please check your network configuration.") |
| LOW | .github/scripts/process_sarif.py | 122 | except Exception as e: |
| MEDIUM | .github/scripts/process_sarif.py | 123 | print(f"Error processing SARIF file: {e}") |
| LOW | .github/scripts/generate_missing_junits.py | 28 | except Exception as e: |
| LOW | .github/scripts/generate_missing_junits.py | 34 | except Exception as e: |
| LOW | .github/scripts/generate_missing_junits.py | 50 | except Exception as e: |
| LOW | .github/scripts/generate_missing_junits.py | 136 | except Exception as e: |
| LOW | .github/scripts/generate_missing_junits.py | 143 | except Exception as e: |
| LOW | .github/scripts/generate_missing_junits.py | 335 | except Exception as e: |
| LOW | .github/scripts/include_checker.py | 66 | except Exception as e: |
| MEDIUM | .github/scripts/include_checker.py | 81 | print(f"Error: Directory '{root_dir}' does not exist") |
| MEDIUM | .github/scripts/get_affected.py | 540 | print(f"Error: Ctags failed with return code {e.returncode}", file=sys.stderr) |
| LOW | .github/scripts/get_affected.py | 321 | except Exception: |
| LOW | .github/scripts/get_affected.py | 544 | except Exception as e: |
| LOW | .github/scripts/get_affected.py | 557 | except Exception as e: |
| LOW | .github/scripts/get_affected.py | 602 | except Exception as e: |
| LOW | .github/scripts/get_affected.py | 713 | except Exception as e: |
| 1 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | libraries/SD/src/sd_diskio.cpp | 502 | // Step 1: Power-up sequence - Send at least 74 clock cycles with CS high and MOSI high |
| LOW | libraries/SD/src/sd_diskio.cpp | 510 | // Step 2: Select the card and send GO_IDLE_STATE command |
| LOW | libraries/SD/src/sd_diskio.cpp | 524 | // Step 3: Configure CRC checking |
| LOW | libraries/SD/src/sd_diskio.cpp | 535 | // Step 4: Card type detection and initialization |
| LOW | libraries/SD/src/sd_diskio.cpp | 604 | // Step 5: Clear card detection for SD cards (not needed for MMC) |
| LOW | libraries/SD/src/sd_diskio.cpp | 612 | // Step 6: Set block length for non-SDHC cards |
| LOW | libraries/SD/src/sd_diskio.cpp | 621 | // Step 7: Get card capacity and finalize initialization |
| LOW | libraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp | 21 | // Step 1: Verify ESP-Hosted is properly initialized |
| LOW | libraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp | 27 | // Step 2: Check if an update is actually available |
| LOW | libraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp | 33 | // Step 3: Ensure network connectivity is available |
| LOW | libraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp | 39 | // Step 4: Begin the update process - display update URL |
| LOW | libraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp | 43 | // Step 5: Create a secure network client for HTTPS communication |
| LOW | libraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp | 50 | // Step 6: Configure client to skip certificate verification (insecure mode) |
| LOW | libraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp | 53 | // Step 7: Initialize HTTP client and attempt to connect to update server |
| LOW | libraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp | 61 | // Step 8: Send HTTP GET request to download the firmware |
| LOW | libraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp | 64 | // Step 9: Get the size of the firmware file to download |
| LOW | libraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp | 72 | // Step 10: Get stream pointer for reading firmware data |
| LOW | libraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp | 75 | // Step 11: Initialize the ESP-Hosted update process |
| LOW | libraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp | 83 | // Step 12: Allocate buffer for firmware data transfer (2KB chunks) |
| LOW | libraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp | 92 | // Step 13: Download and write firmware data in chunks |
| LOW | libraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp | 120 | // Step 14: Check if entire firmware has been downloaded |
| LOW | libraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp | 147 | // Step 15: Clean up allocated buffer |
| LOW | libraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp | 156 | // Step 16: Close HTTP connection |
| LOW | libraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp | 160 | // Step 17: Clean up network client |
| LOW | libraries/Update/src/Updater.cpp | 530 | // Step 1: Reverse byte order of the 16-byte block |
| LOW | libraries/Update/src/Updater.cpp | 550 | // Step 2: Apply AES-ECB encryption (this decrypts due to the involutory scheme) |
| LOW | libraries/Update/src/Updater.cpp | 563 | // Step 3: Reverse byte order back to get the decrypted plaintext |
| LOW | libraries/Update/src/Updater.cpp | 579 | // Step 1: Reverse byte order of the 16-byte block |
| LOW | libraries/Update/src/Updater.cpp | 593 | // Step 2: Apply AES encryption (this decrypts due to the involutory scheme) |
| LOW | libraries/Update/src/Updater.cpp | 598 | // Step 3: Reverse byte order back to get the decrypted plaintext |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .gitlab/scripts/get_artifacts.sh | 12 | # Check if GitHub token is available |
| LOW | .gitlab/scripts/get_artifacts.sh | 43 | # Check if we got a valid response |
| LOW | tests/conftest.py | 34 | # Check if the IP address is a valid IPv4 address |
| LOW | tests/performance/fibonacci/test_fibonacci.py | 52 | # Check if the result is correct |
| LOW | .github/scripts/tests_run.sh | 7 | # Check if a test is a multi-device test |
| LOW | .github/scripts/tests_run.sh | 137 | # Check if the build is for the correct target |
| LOW | .github/scripts/tests_run.sh | 312 | # Check if target is supported by QEMU |
| LOW | .github/scripts/tests_run.sh | 555 | # Check if this is a multi-device test |
| LOW | .github/scripts/check_official_variants.sh | 4 | # Check if Official Variants Changed |
| LOW | .github/scripts/check_official_variants.sh | 66 | # Check if file is in variants/ directory |
| LOW | .github/scripts/check_official_variants.sh | 71 | # Check if this variant is in official targets |
| LOW | .github/scripts/check_official_variants.sh | 94 | # Output result |
| LOW | .github/scripts/process_sarif.py | 110 | # Check if files exist |
| LOW | .github/scripts/tests_build.sh | 35 | # Check if a test is a multi-device test |
| LOW | .github/scripts/tests_build.sh | 81 | # Check if target is supported by this test |
| LOW | .github/scripts/tests_build.sh | 83 | # Check if target is explicitly disabled |
| LOW | .github/scripts/tests_build.sh | 90 | # Check if target meets the requirements using check_requirements from sketch_utils.sh |
| LOW | .github/scripts/tests_build.sh | 281 | # Check if this is a multi-device test |
| LOW | .github/scripts/generate_missing_junits.py | 402 | # Check if target and type are valid for this specific platform |
| LOW | .github/scripts/upload-release-assets.sh | 48 | # Check if there are changes to commit |
| LOW | .github/scripts/include_checker.py | 47 | # Check if already has Arduino.h include |
| LOW | .github/scripts/include_checker.py | 192 | # Check if first argument is a directory or a file |
| LOW | .github/scripts/sketch_utils.sh | 18 | # Check if the sketch requires any configuration options (AND) |
| LOW | .github/scripts/sketch_utils.sh | 33 | # Check if the sketch requires any configuration options (OR) |
| LOW | .github/scripts/find_new_boards.sh | 13 | # Check if the diff is empty |
| LOW | .github/scripts/find_new_boards.sh | 39 | # Check if board_name is in excluded entries |
| LOW | .github/scripts/validate_board.sh | 92 | # Check if it's all uppercase |
| LOW | .github/scripts/validate_board.sh | 133 | # Check if board has menu.FlashSize entries |
| LOW | .github/scripts/validate_board.sh | 435 | # Check if VID and PID indices match |
| LOW | .github/scripts/validate_board.sh | 497 | # Check if DebugLevel menu exists |
| LOW | .github/scripts/socs_config.sh | 196 | # Check if SoC is supported by QEMU |
| LOW | .github/scripts/socs_config.sh | 255 | # Check if a SoC should be skipped in library builds |
| LOW | .github/scripts/get_affected.py | 835 | # Check if any build files have changed |
| LOW | .github/scripts/get_affected.py | 952 | # Check if this file belongs to an IDF component example |
| LOW | .github/scripts/get_affected.py | 1093 | # Close file if we opened it (CI mode) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | .vale.ini | 30 | # Create a folder in <StylesPath>/Vocab/<name>/and add its name here |
| MEDIUM | tools/espota.py | 219 | # Create a TCP/IP socket |
| MEDIUM | tools/add_lib.sh | 23 | # Define the default values for the parameters |
| MEDIUM | .github/workflows/codeql.yml | 40 | # Create a mapping file to track renamed files |
| MEDIUM | .github/workflows/tests.yml | 1 | # This file is used to run the runtime tests for the Arduino core for ESP32. |
| MEDIUM | .github/scripts/test_runtime_table_generator.py | 473 | # Create a minimal perf result JSON |
| MEDIUM | .github/scripts/socs_config.sh | 5 | # This file contains all supported SoC definitions for the ESP32 Arduino core. |
| MEDIUM | .github/scripts/tests_matrix.sh | 32 | # Create a single JSON file with all test matrix information |
| MEDIUM | .github/scripts/tests_utils.sh | 6 | # This function handles both multi-device tests (which have ci.yml at test level) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/gen_esp32part.py | 113 | def get_alignment_offset_for_type(ptype): |
| LOW | tools/gen_esp32part.py | 117 | def get_alignment_size_for_type(ptype): |
| LOW | tools/espota.py | 98 | def send_invitation_and_get_auth_challenge(remote_addr, remote_port, message): |
| LOW | tools/pioarduino-build.py | 93 | def generate_bootloader_image(bootloader_elf): |
| LOW | tools/get.py | 135 | def print_verification_progress(total_files, i, t1): |
| LOW | tools/get.py | 325 | def download_file_with_progress(url, filename, start_time): |
| LOW | tests/validation/gpio/test_gpio.py | 34 | def test_interrupt_attach_detach(): |
| LOW | libraries/WebServer/src/detail/RequestHandler.h | 7 | class RequestHandler { |
| LOW | libraries/WebServer/src/detail/RequestHandlersImpl.h | 47 | class FunctionRequestHandler : public RequestHandler { |
| LOW | libraries/WebServer/src/detail/RequestHandlersImpl.h | 146 | class StaticRequestHandler : public RequestHandler { |
| LOW | .github/scripts/runtime_table_generator.py | 56 | def _load_build_failure_cells(path): |
| LOW | .github/scripts/runtime_table_generator.py | 138 | def _collect_and_aggregate_performance(perf_dir): |
| LOW | .github/scripts/process_sarif.py | 10 | def process_artifact_location(artifact_location, renamed_files): |
| LOW | .github/scripts/process_sarif.py | 31 | def process_physical_location(physical_location, renamed_files): |
| LOW | .github/scripts/generate_missing_junits.py | 224 | def _write_build_failure_cells(out_root: Path, cells): |
| LOW | .github/scripts/generate_missing_junits.py | 253 | def expected_from_previous_results(path, enabled_plats, plat_targets, plat_types): |
| LOW | .github/scripts/include_checker.py | 26 | def find_first_preprocessor_line(lines: List[str]) -> int: |
| LOW | .github/scripts/backlog-cleanup.js | 89 | async function hasRecentFriendlyReminder(github, owner, repo, issueNumber, maxAgeMs) { |
| LOW | .github/scripts/update_esptool.py | 101 | def update_tools_dependencies(tmp_json_path, version): |
| LOW | .github/scripts/update_esptool.py | 163 | def update_json_from_local_build(tmp_json_path, version, base_folder, archive_files): |
| LOW | .github/scripts/get_affected.py | 118 | def resolve_changed_path_to_project_relative(path: str) -> str: |
| LOW | .github/scripts/get_affected.py | 252 | def reverse_walk_reaches_any_sketch(path: str) -> bool: |
| LOW | .github/scripts/get_affected.py | 282 | def changed_sketch_sources_with_no_path_to_inos(changed_files: list[str]) -> list[str]: |
| LOW | .github/scripts/get_affected.py | 324 | def normalize_function_signature(signature: str) -> str: |
| LOW | .github/scripts/get_affected.py | 460 | def find_impl_files_for_qname(qname: str, defs_by_qname: dict[str, set[str]], header_path: str = None) -> set[str]: |
| LOW | .github/scripts/get_affected.py | 644 | def list_idf_component_examples() -> list[str]: |
| LOW | .github/scripts/get_affected.py | 769 | def build_reverse_dependencies() -> None: |
| LOW | .github/scripts/get_affected.py | 799 | def has_sketch_build_files_changed(path: str) -> bool: |
| LOW | .github/scripts/get_affected.py | 1011 | def save_dependencies_as_json(output_file: str = "dependencies.json") -> None: |
| LOW | .github/scripts/get_affected.py | 1027 | def check_preset_files_affected(): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .gitlab/scripts/gen_hw_jobs.py | 62 | |
| LOW | .gitlab/scripts/gen_hw_jobs.py | 99 | |
| LOW | tools/gen_crt_bundle.py | 82 | |
| LOW | tools/gen_esp32part.py | 146 | |
| LOW | tools/espota.py | 216 | |
| LOW | tools/get.py | 141 | |
| LOW | tools/get.py | 222 | |
| LOW | tools/get.py | 325 | |
| LOW | tools/get.py | 353 | |
| LOW | tools/get.py | 375 | |
| LOW | tools/get.py | 422 | |
| LOW | tools/bin_signing.py | 229 | |
| LOW | tests/performance/ramspeed/test_ramspeed.py | 8 | |
| LOW | tests/performance/psramspeed/test_psramspeed.py | 8 | |
| LOW | libraries/WiFi/examples/WiFiUDPClient/udp_server.py | 9 | |
| LOW | .github/scripts/runtime_table_generator.py | 138 | |
| LOW | .github/scripts/process_sarif.py | 48 | |
| LOW | .github/scripts/generate_missing_junits.py | 86 | |
| LOW | .github/scripts/generate_missing_junits.py | 253 | |
| LOW | .github/scripts/update_esptool.py | 53 | |
| LOW | .github/scripts/update_esptool.py | 101 | |
| LOW | .github/scripts/update_esptool.py | 115 | |
| LOW | .github/scripts/update_esptool.py | 147 | |
| LOW | .github/scripts/release_append_cn.py | 18 | |
| LOW | .github/scripts/get_affected.py | 324 | |
| LOW | .github/scripts/get_affected.py | 460 | |
| LOW | .github/scripts/get_affected.py | 605 | |
| LOW | .github/scripts/get_affected.py | 617 | |
| LOW | .github/scripts/get_affected.py | 686 | |
| LOW | .github/scripts/get_affected.py | 779 | |
| LOW | .github/scripts/get_affected.py | 816 | |
| LOW | .github/scripts/get_affected.py | 870 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/arduino_cmake.py | 15 | |
| LOW | tools/gen_crt_bundle.py | 25 | |
| LOW | tools/espota.py | 54 | |
| LOW | tools/get.py | 9 | |
| LOW | tests/validation/signed_ota/test_signed_ota.py | 12 | |
| LOW | docs/conf_common.py | 3 | |
| LOW | docs/en/conf.py | 11 | |
| LOW | docs/en/conf.py | 17 | |
| LOW | .github/scripts/test_runtime_table_generator.py | 40 | |
| LOW | .github/scripts/merge_packages.py | 10 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .github/scripts/check_official_variants.sh | 7 | # Usage: |
| LOW | .github/scripts/on-release.sh | 72 | # Usage: |
| LOW | .github/scripts/merge_packages.py | 4 | # Usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | .gitlab/scripts/gen_hw_jobs.py | 346 | # Be robust to unexpected runner payloads |