The firmware for the HackRF+PortaPack H1/H2/H4/H4M
This report summarizes scanner evidence for portapack-mayhem/mayhem-firmware, a C project with 5,467 GitHub stars. SynthScan examined 809,496 lines of code across 3087 source files, recording 4998 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 4.9 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 4937 finding(s).
Are imports declared and package/API names verified? 8 finding(s).
Are wrappers, guards, and repeated structures necessary? 60 finding(s).
Which changes need focused human review? 4998 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 4998 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CMakeLists.txt | 1 | # Copyright 2016 Jared Boone <jared@sharebrained.com> | COMMENT |
| LOW | dockerize.sh | 1 | #!/bin/bash | COMMENT |
| LOW | dockerize.sh | 21 | # Change the default build directory: ./dockerize.sh -B build-alt | COMMENT |
| LOW | dockerize.sh | 41 | # | COMMENT |
| LOW | sdcard/LOOKINGGLASS/DECT.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/MICS.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/MARINE_BAND.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/MULTI_USE_RADIO_SERVICE_MURS.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/WIFI.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/433_MHz_BAND.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/AUS_UHF_CB.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/RAILROAD.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/RADIOSONDES.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/COMMON_PUBLIC_SERVICE_BANDS.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/FULL.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/CITIZENS_BAND_RADIO.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/NOAA_WEATHER_RADIO.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/WATER_METERS.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/FRSGMRS.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/CubeSats.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | firmware/CMakeLists.txt | 1 | # Copyright 2016 Jared Boone <jared@sharebrained.com> | COMMENT |
| LOW | firmware/chibios/test/test.h | 41 | COMMENT | |
| LOW | firmware/chibios/test/test.c | 21 | * @addtogroup test | COMMENT |
| LOW | firmware/chibios/testhal/SPC560Pxx/PWM-ICU/mcuconf.h | 141 | #define SPC5_ME_LP_PC5_BITS (SPC5_ME_LP_PC_HALT0 | \ | COMMENT |
| LOW | firmware/chibios/testhal/SPC560Pxx/PWM-ICU/mcuconf.h | 161 | #define SPC5_SERIAL_LINFLEX1_START_PCTL (SPC5_ME_PCTL_RUN(1) | \ | COMMENT |
| LOW | firmware/chibios/testhal/SPC560Pxx/PWM-ICU/mcuconf.h | 181 | COMMENT | |
| LOW | firmware/chibios/testhal/SPC560Pxx/PWM-ICU/mcuconf.h | 201 | #define SPC5_ICU_USE_SMOD10 FALSE | COMMENT |
| LOW | firmware/chibios/testhal/SPC563Mxx/ADC/mcuconf.h | 41 | BIUCR_MASTER0_PREFETCH | \ | COMMENT |
| LOW | firmware/chibios/testhal/SPC563Mxx/ADC/mcuconf.h | 81 | #define SPC5_USE_ESCIA TRUE | COMMENT |
| LOW | firmware/chibios/testhal/LPC13xx/IRQ_STORM/main.c | 21 | COMMENT | |
| LOW | firmware/chibios/testhal/LPC13xx/IRQ_STORM/mcuconf.h | 61 | /* | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/PWM-ICU/mcuconf.h | 41 | #define STM32_LSI_ENABLED TRUE | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/PWM-ICU/mcuconf.h | 81 | #define STM32_GPT_USE_TIM2 FALSE | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/PWM-ICU/mcuconf.h | 101 | * ICU driver system settings. | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/PWM-ICU/mcuconf.h | 121 | /* | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/PWM-ICU/mcuconf.h | 141 | * UART driver system settings. | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/EXT/mcuconf.h | 41 | #define STM32_LSI_ENABLED TRUE | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/EXT/mcuconf.h | 81 | #define STM32_GPT_USE_TIM2 FALSE | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/EXT/mcuconf.h | 101 | * ICU driver system settings. | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/EXT/mcuconf.h | 121 | /* | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/EXT/mcuconf.h | 141 | * UART driver system settings. | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/IRQ_STORM/main.c | 21 | COMMENT | |
| LOW | firmware/chibios/testhal/STM32F0xx/IRQ_STORM/mcuconf.h | 41 | #define STM32_LSI_ENABLED TRUE | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/IRQ_STORM/mcuconf.h | 81 | #define STM32_GPT_USE_TIM2 TRUE | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/IRQ_STORM/mcuconf.h | 101 | * ICU driver system settings. | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/IRQ_STORM/mcuconf.h | 121 | /* | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/IRQ_STORM/mcuconf.h | 141 | * UART driver system settings. | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/SPI/mcuconf.h | 41 | #define STM32_LSI_ENABLED TRUE | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/SPI/mcuconf.h | 81 | #define STM32_GPT_USE_TIM2 FALSE | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/SPI/mcuconf.h | 101 | * ICU driver system settings. | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/SPI/mcuconf.h | 121 | /* | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/SPI/mcuconf.h | 141 | * UART driver system settings. | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/ADC/mcuconf.h | 41 | #define STM32_LSI_ENABLED TRUE | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/ADC/mcuconf.h | 81 | #define STM32_GPT_USE_TIM2 FALSE | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/ADC/mcuconf.h | 101 | * ICU driver system settings. | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/ADC/mcuconf.h | 121 | /* | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/ADC/mcuconf.h | 141 | * UART driver system settings. | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/UART/mcuconf.h | 41 | #define STM32_LSI_ENABLED TRUE | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/UART/mcuconf.h | 81 | #define STM32_GPT_USE_TIM2 FALSE | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/UART/mcuconf.h | 101 | * ICU driver system settings. | COMMENT |
| 4775 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …/chibios/demos/ARMCM0P-LPC812-LPCXPRESSO/lpc8xx_isp.py | 5 | #========================================================= | COMMENT |
| MEDIUM | …/chibios/demos/ARMCM0P-LPC812-LPCXPRESSO/lpc8xx_isp.py | 14 | #========================================================= | COMMENT |
| MEDIUM | …/chibios/demos/ARMCM0P-LPC812-LPCXPRESSO/lpc8xx_isp.py | 28 | #========================================================= | COMMENT |
| MEDIUM | …/chibios/demos/ARMCM0P-LPC812-LPCXPRESSO/lpc8xx_isp.py | 44 | #========================================================= | COMMENT |
| MEDIUM | …/chibios/demos/ARMCM0P-LPC812-LPCXPRESSO/lpc8xx_isp.py | 102 | #========================================================= | COMMENT |
| MEDIUM | …/chibios/demos/ARMCM0P-LPC812-LPCXPRESSO/lpc8xx_isp.py | 137 | #========================================================= | COMMENT |
| MEDIUM | …/chibios/demos/ARMCM0P-LPC812-LPCXPRESSO/lpc8xx_isp.py | 138 | #========================================================= | COMMENT |
| MEDIUM | firmware/tools/make_macaddress_db/make_macaddress_db.py | 19 | # ------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | firmware/tools/make_macaddress_db/make_macaddress_db.py | 22 | # ------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | firmware/tools/make_airlines_db/make_airlines_db.py | 20 | # ------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | firmware/tools/make_airlines_db/make_airlines_db.py | 24 | # ------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | firmware/tools/make_icao24_db/make_icao24_db.py | 22 | # ------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | firmware/tools/make_icao24_db/make_icao24_db.py | 26 | # ------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | firmware/tools/make_mids_db/make_mid_db.py | 21 | # ------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | firmware/tools/make_mids_db/make_mid_db.py | 27 | # ------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …re/application/external/two_tone_rx/ui_two_tone_rx.hpp | 102 | // ── Two-tone detection state machine ───────────────────────────────────── | COMMENT |
| MEDIUM | …re/application/external/two_tone_rx/ui_two_tone_rx.hpp | 138 | // ── Row 0: frequency + RF controls ─────────────────────────────────────── | COMMENT |
| MEDIUM | …re/application/external/two_tone_rx/ui_two_tone_rx.hpp | 154 | // ── Row 1: CTCSS / Squelch / Start+Stop / Clear ────────────────────────── | COMMENT |
| MEDIUM | …re/application/external/two_tone_rx/ui_two_tone_rx.hpp | 181 | // ── Row 2: live status (active tone in progress) + Bias-T toggle ───────── | COMMENT |
| MEDIUM | …re/application/external/two_tone_rx/ui_two_tone_rx.hpp | 198 | // ── Waterfall (rest of screen) ──────────────────────────────────────────── | COMMENT |
| MEDIUM | …re/application/external/two_tone_rx/ui_two_tone_rx.hpp | 202 | // ── Message handler ─────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | firmware/chibios/os/hal/platforms/Posix/pal_lld.h | 151 | * @details The purpose of this function is to read back the latched output | COMMENT |
| LOW | firmware/chibios/os/hal/platforms/LPC11Uxx/pal_lld.h | 140 | * @details The purpose of this function is to read back the latched output | COMMENT |
| LOW | firmware/chibios/os/hal/platforms/AVR/pal_lld.h | 240 | * @details The purpose of this function is to read back the latched output | COMMENT |
| LOW | firmware/chibios/os/hal/platforms/LPC8xx/pal_lld.h | 129 | * @details The purpose of this function is to read back the latched output | COMMENT |
| LOW | …ware/chibios/os/hal/platforms/SPC5xx/SIUL_v1/pal_lld.h | 248 | * @details The purpose of this function is to read back the latched output | COMMENT |
| LOW | …mware/chibios/os/hal/platforms/SPC5xx/SIU_v1/pal_lld.h | 242 | * @details The purpose of this function is to read back the latched output | COMMENT |
| LOW | firmware/chibios/os/hal/platforms/LPC13xx/pal_lld.h | 156 | * @details The purpose of this function is to read back the latched output | COMMENT |
| LOW | firmware/chibios/os/hal/platforms/LPC122x/pal_lld.h | 151 | * @details The purpose of this function is to read back the latched output | COMMENT |
| LOW | firmware/chibios/os/hal/platforms/Win32/pal_lld.h | 151 | * @details The purpose of this function is to read back the latched output | COMMENT |
| LOW | firmware/chibios/os/hal/platforms/LPC11xx/pal_lld.h | 156 | * @details The purpose of this function is to read back the latched output | COMMENT |
| LOW | firmware/chibios/os/hal/include/pal.h | 236 | * @details The purpose of this function is to read back the latched output | COMMENT |
| LOW | firmware/chibios/os/hal/templates/pal_lld.h | 117 | * @details The purpose of this function is to read back the latched output | COMMENT |
| LOW⚡ | firmware/common/utility.cpp | 97 | // Step 1: Normalize IQ values (convert 8-bit signed to -1.0 to +1.0) | COMMENT |
| LOW⚡ | firmware/common/utility.cpp | 101 | // Step 2: Compute the magnitude squared (I^2 + Q^2) | COMMENT |
| LOW⚡ | firmware/common/utility.cpp | 104 | // Step 3: Convert the magnitude squared to actual power (in watts) | COMMENT |
| LOW⚡ | firmware/common/utility.cpp | 108 | // Step 4: Convert the power to dBm (multiply by 1000 to convert watts to milliwatts) | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1203 | // Step 1: Init | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1208 | // Step 2: Set sample rate (configures Si5351 clocks!) | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1212 | // Step 3: RX mode | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1216 | // Step 4: Frequency - use 2437 MHz (WiFi ch6) which is in MAX2831 range | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1222 | // Step 5: Configure SGPIO outputs with correct DISABLE sequence | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1469 | // Step 7: Enable slice A counter (keep slice D enabled) - still with DISABLE=HIGH | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1479 | // Step 8: Enable streaming (DISABLE=LOW) - THIS IS THE CRITICAL TEST | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 2965 | // Step 1: Read current value | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 2968 | // Step 2: Write a different value (change ENBL bit to toggle) | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 2972 | // Step 3: Read back | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 2975 | // Step 4: Restore original | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1237 | // Step 6: Check raw GPIO pins | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1311 | // Step 0: Baseline with DISABLE=HIGH first | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1336 | // Step 1: OUT_MUX_CFG data pins - test individually | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1360 | // Step 2: OUT_MUX_CFG control pins - SKIP PIN 10 (HOST_DISABLE) | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1394 | // Step 3: Set GPIO_OENREG for RX | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1429 | // Step 4: SGPIO_MUX_CFG slice A | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1441 | // Step 5: SLICE_MUX_CFG slice A | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1453 | // Step 6: Slice A registers | COMMENT |
| LOW | …e/chibios-portapack/os/hal/platforms/LPC43xx/pal_lld.h | 176 | * @details The purpose of this function is to read back the latched output | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | dockerize.sh | 40 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/export_external_apps.py | 7 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/guru_lookup.py | 6 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/simple_checksum.py | 6 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/copy_external_apps.sh | 6 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | …ware/tools/check_external_app_linker_script_correct.py | 6 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/extract_cpld_data.py | 6 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/make_spi_image.py | 8 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/check_gcc_version_from_elf.py | 6 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/fast_flash_pp_and_copy_apps.py | 3 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/docker-entrypoint.sh | 6 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/check_external_symbol_placement.py | 6 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/make_image_chunk.py | 6 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/stack_usage.py | 6 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/widget_preview.py | 4 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/elf_info.py | 6 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/enter_mode.sh | 6 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/external_app_info.py | 6 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | …rmware/tools/bitmap_tools/bitmap_arr_reverse_decode.py | 6 | # This file is part of PortaPack. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ware/tools/check_external_app_linker_script_correct.py | 125 | except Exception as e: | CODE |
| LOW | firmware/tools/make_spi_image.py | 216 | except Exception as e: | STRING |
| LOW | firmware/tools/fast_flash_pp_and_copy_apps.py | 55 | except Exception as e: | CODE |
| LOW | firmware/tools/fast_flash_pp_and_copy_apps.py | 78 | except Exception as e: | CODE |
| LOW | firmware/tools/fast_flash_pp_and_copy_apps.py | 255 | except Exception as e: | CODE |
| LOW | firmware/tools/fast_flash_pp_and_copy_apps.py | 268 | except Exception as e: | CODE |
| MEDIUM | firmware/tools/fast_flash_pp_and_copy_apps.py | 129 | def get_pp_device_linux(): | CODE |
| LOW | firmware/tools/make_macaddress_db/make_macaddress_db.py | 164 | except Exception as e: | CODE |
| MEDIUM | firmware/tools/make_macaddress_db/make_macaddress_db.py | 165 | print(f"Error creating MAC address database: {e}") | CODE |
| LOW | firmware/tools/make_airlines_db/make_airlines_db.py | 73 | except Exception as e: | CODE |
| MEDIUM | firmware/tools/make_airlines_db/make_airlines_db.py | 74 | print(f"Error downloading airline codes file: {e}") | CODE |
| LOW | firmware/tools/make_airlines_db/make_airlines_db.py | 113 | except Exception as e: | CODE |
| LOW | firmware/tools/make_airlines_db/make_airlines_db.py | 270 | except Exception as e: | CODE |
| MEDIUM | firmware/tools/make_airlines_db/make_airlines_db.py | 271 | print(f"Error creating airline database: {e}") | CODE |
| MEDIUM | firmware/tools/bmp_tools/hex_cpp_arr_to_bmp.py | 30 | print("Error: No hex data found.") | CODE |
| LOW⚡ | firmware/tools/make_icao24_db/make_icao24_db.py | 85 | except Exception as e: | CODE |
| MEDIUM⚡ | firmware/tools/make_icao24_db/make_icao24_db.py | 86 | print(f"Error downloading aircraft database file: {e}") | CODE |
| LOW | firmware/tools/make_icao24_db/make_icao24_db.py | 130 | except Exception as e: | CODE |
| LOW | firmware/tools/make_icao24_db/make_icao24_db.py | 292 | except Exception as e: | CODE |
| MEDIUM | firmware/tools/make_icao24_db/make_icao24_db.py | 293 | print(f"Error creating ICAO24 database: {e}") | CODE |
| MEDIUM | firmware/tools/bitmap_tools/pp_png2hpp.py | 208 | print(f"Error: {hpp_file_path} is not a valid file.") | STRING |
| LOW⚡ | hardware/portapack_h2m/fonts/_get_font_info.py | 32 | except Exception as e: | CODE |
| MEDIUM⚡ | hardware/portapack_h2m/fonts/_get_font_info.py | 33 | print(f"Error reading copyright info from {font_file}: {e}") | CODE |
| LOW⚡ | hardware/portapack_h2m/fonts/_get_font_info.py | 43 | except Exception as e: | CODE |
| MEDIUM⚡ | hardware/portapack_h2m/fonts/_get_font_info.py | 44 | print(f"Error writing license file for {font_file}: {e}") | CODE |
| MEDIUM | hardware/portapack_h2m/fonts/_get_font_info.py | 19 | def read_copyright_info(font_file): | CODE |
| MEDIUM | hardware/portapack_h2m/fonts/_get_font_info.py | 36 | def write_license_file(font_file, copyright_info): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | firmware/common/utility.cpp | 97 | // Step 1: Normalize IQ values (convert 8-bit signed to -1.0 to +1.0) | COMMENT |
| LOW⚡ | firmware/common/utility.cpp | 101 | // Step 2: Compute the magnitude squared (I^2 + Q^2) | COMMENT |
| LOW⚡ | firmware/common/utility.cpp | 104 | // Step 3: Convert the magnitude squared to actual power (in watts) | COMMENT |
| LOW⚡ | firmware/common/utility.cpp | 108 | // Step 4: Convert the power to dBm (multiply by 1000 to convert watts to milliwatts) | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1203 | // Step 1: Init | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1208 | // Step 2: Set sample rate (configures Si5351 clocks!) | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1212 | // Step 3: RX mode | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1216 | // Step 4: Frequency - use 2437 MHz (WiFi ch6) which is in MAX2831 range | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1222 | // Step 5: Configure SGPIO outputs with correct DISABLE sequence | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1469 | // Step 7: Enable slice A counter (keep slice D enabled) - still with DISABLE=HIGH | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1479 | // Step 8: Enable streaming (DISABLE=LOW) - THIS IS THE CRITICAL TEST | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 2965 | // Step 1: Read current value | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 2968 | // Step 2: Write a different value (change ENBL bit to toggle) | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 2972 | // Step 3: Read back | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 2975 | // Step 4: Restore original | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1237 | // Step 6: Check raw GPIO pins | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1311 | // Step 0: Baseline with DISABLE=HIGH first | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1336 | // Step 1: OUT_MUX_CFG data pins - test individually | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1360 | // Step 2: OUT_MUX_CFG control pins - SKIP PIN 10 (HOST_DISABLE) | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1394 | // Step 3: Set GPIO_OENREG for RX | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1429 | // Step 4: SGPIO_MUX_CFG slice A | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1441 | // Step 5: SLICE_MUX_CFG slice A | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1453 | // Step 6: Slice A registers | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | firmware/tools/guru_lookup.py | 98 | except (OSError, struct.error): | CODE |
| HIGH | firmware/tools/fast_flash_pp_and_copy_apps.py | 262 | except: | CODE |
| HIGH | firmware/tools/widget_preview.py | 151 | except IndexError: | CODE |
| HIGH | firmware/tools/generate_ui-about-simple.cpp.py | 122 | except: | CODE |
| HIGH | hardware/portapack_h2m/fonts/_get_font_info.py | 12 | except UnicodeDecodeError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | firmware/tools/fast_flash_pp_and_copy_apps.py | 40 | CODE | |
| LOW | firmware/tools/fast_flash_pp_and_copy_apps.py | 129 | CODE | |
| LOW | firmware/tools/fast_flash_pp_and_copy_apps.py | 166 | CODE | |
| LOW | firmware/tools/stack_usage.py | 95 | CODE | |
| LOW | firmware/tools/stack_usage.py | 155 | CODE | |
| LOW | firmware/tools/widget_preview.py | 135 | CODE | |
| LOW | firmware/tools/make_macaddress_db/make_macaddress_db.py | 74 | CODE | |
| LOW | firmware/tools/make_airlines_db/make_airlines_db.py | 78 | CODE | |
| LOW | firmware/tools/make_airlines_db/make_airlines_db.py | 175 | CODE | |
| LOW | firmware/tools/make_icao24_db/make_icao24_db.py | 90 | CODE | |
| LOW | tools/list_baseband_images.py | 194 | CODE | |
| LOW | tools/update_external_tier_ld.py | 138 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | firmware/tools/append_fpga_bitstream.py | 12 | CODE | |
| LOW | firmware/tools/make_dcs.py | 23 | CODE | |
| LOW | firmware/tools/make_dcs.py | 24 | CODE | |
| LOW | firmware/tools/simple_checksum.py | 25 | CODE | |
| LOW | firmware/tools/generate_world_map.bin.py | 21 | CODE | |
| LOW | firmware/tools/generate_world_map.bin.py | 22 | CODE | |
| LOW | firmware/tools/bitmap_tools/make_bitmap2.py | 22 | CODE | |
| LOW | firmware/tools/bitmap_tools/make_bitmap.py | 22 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | firmware/tools/make_spi_image.py | 152 | def get_gcc_version_from_elf_files_in_giving_path_or_filename_s_path(path): | STRING |
| LOW | firmware/tools/make_spi_image.py | 257 | def report_external_app_references(readelf, elf_path): | STRING |
| LOW | firmware/tools/generate_ui-about-simple.cpp.py | 161 | def pp_create_ui_about_simple_cpp(cpp_file, cppheader, cppcontent, cppfooter): | STRING |
| LOW | firmware/tools/generate_ui-about-simple.cpp.py | 173 | def pp_change_ui_about_simple_cpp(cpp_file, cppcontent): | STRING |
| LOW | firmware/tools/external_app_info.py | 46 | def read_external_apps_address_end(application_binary_dir): | CODE |
| LOW | firmware/tools/external_app_info.py | 63 | def read_external_app_sections(application_binary_dir): | CODE |
| LOW⚡ | firmware/tools/make_icao24_db/make_icao24_db.py | 78 | def download_aircraft_database() -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | firmware/application/ui_external_items_menu_loader.cpp | 387 | // TODO: implement baseband image support | COMMENT |
| LOW | firmware/application/ui_external_items_menu_loader.cpp | 423 | // TODO: implement baseband image support | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | firmware/common/i2cdevmanager.hpp | 47 | void set_update_interval(uint8_t interval); // sets the device's update interval in sec. if you change it, don't fo | CODE |
| LOW | firmware/baseband/proc_bint_stream_tx.hpp | 23 | For usage check the FlipperTX app. Don't forget to "close" the tx by sending 42069, 613379 values at the end of the | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/changelog.py | 37 | # Check if the request was successful (status code 200) | COMMENT |