Przejdź do treści
Biblioteka skilli
Programowanie · Analiza

esp32-heap-fragmentation-forensics

/esp32-heap-fragmentation-forensics

Analizuje fragmentację sterty ESP32, która po dłuższym czasie pracy prowadzi do błędów alokacji.

Licencja
MIT
Ostatnia zmiana repozytorium
11.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
3
Przestarzałość

Brak sygnałów. Repozytorium zmienione 11.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Analizuje fragmentację sterty ESP32, która po dłuższym czasie pracy prowadzi do błędów alokacji.

Oryginalny opis (EN)

Use when reviewing or implementing esp32 heap fragmentation forensics on an ESP32 target.

Jak działa

  1. Purpose
  2. Required context
  3. Procedure
  4. Domain checklist
  5. Safety and security
  6. Validation matrix
  7. Deliverable
  8. References
Sekcje z nagłówków SKILL.md, w oryginale · 55 linii, 475 słów
Podgląd SKILL.md
---
name: esp32-heap-fragmentation-forensics
description: Use when reviewing or implementing esp32 heap fragmentation forensics on an ESP32 target.
license: MIT
---

# Esp32 Heap Fragmentation Forensics

## Purpose
A repeatable engineering method for esp32 heap fragmentation forensics on ESP32 products. This guidance does not replace exact SoC/module datasheets, board schematics, component datasheets, applicable standards or physical measurement.

## Required context
- Exact ESP32 SoC, module/package, board revision and schematic.
- Framework/toolchain and version (ESP-IDF, Arduino-ESP32 or PlatformIO).
- Component part numbers, wiring, electrical ratings and environment.
- Relevant source, configuration, logs, build artifacts and firmware revision.
- Product requirements, failure behavior, deployment constraints and test equipment.

## Procedure
1. Identify exact target, board, framework/toolchain versions and project configuration.
2. Read target-specific Espressif documentation, datasheets, errata and component documentation; record revision and applicability.
3. Inspect source, Kconfig/sdkconfig, partition table, board definitions and resolved dependency versions.
4. Map relevant constraints and budgets: pins, timing, CPU, stack, heap, flash, bandwidth, power, thermal and RF.
5. Analyze startup, reset, disconnect, malformed input, resource exhaustion, power loss and recovery paths.
6. Propose bounded changes with explicit ownership, range checks, timeouts, state transitions and observable errors.
7. Run relevant checkers, host tests and target builds; state what requires physical hardware.
8. Report findings with severity, evidence, affected conditions, mitigation, test results and residual uncertainty.

## Domain checklist
- Esp32 Heap Fragmentation Forensics: verify behavior against exact target and component revisions.
- Check normal operation, boundary values, invalid configuration and failure recovery.
- Check compatibility with the pinned SDK/framework and dependency graph.
- Record measurable budgets and margins; do not substitute estimates for measurements.
- Ensure logs identify failure causes without exposing credentials or private data.
- Separate silicon capability from module wiring and board-level implementation.

## Safety and security
- Never invent GPIO capabilities, voltage tolerance, radio limits, memory capacity or peripheral availability.
- Never disable brownout detection, watchdogs, TLS verification or security controls to hide a defect.
- Never treat an ESP32 as a safety-rated controller or replacement for independent protective hardware.
- Keep credentials, private keys and sensitive device telemetry out of source, logs and examples.
- Treat eFuse, secure-boot, flash-encryption and production provisioning as irreversible/human-approved operations.
- A successful build does not prove electrical, RF, EMC, thermal or field reliability.

## Validation matrix
| Level | Evidence | Limitation |
|---|---|---|
| Static | Source/configuration checks and cited constraints | Cannot prove runtime behavior |
| Host | Deterministic parser/state/budget tests | Does not emulate silicon or electrical behavior |
| Build | Pinned SDK/toolchain build and artifact metadata | Does not prove board wiring or peripheral operation |
| Hardware | Named board, wiring, instruments, conditions and logs | Applies only to tested configuration |

## Deliverable
Return target/version scope, confirmed facts and unknowns, ranked findings, evidence references, remediation, rollback considerations, exact commands and test outcomes, plus hardware-only validation still required.

## References
- ESP-IDF programming guide: https://docs.espressif.com/projects/esp-idf/en/stable/
- Espressif technical documents: https://www.espressif.com/en/support/documents/technical-documents
- ESP-IDF component registry: https://components.espressif.com/
Pliki w paczce (2)
  • LICENSE.txt 1 KB
  • SKILL.md 4 KB

Wersje

W bazie nie ma innych skilli o nazwie esp32-heap-fragmentation-forensics.

Migawka bazy z 13.11.2026 · wersja paczki df1c8f79feae (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 3 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100esp32-heap-forensics
    Szuka przyczyn wycieków pamięci, fragmentacji i błędów alokacji w ESP32, także przy długim czasie pracy urządzenia.
  • 90esp32-heap-fragmentation-budget
    Ustala budżet fragmentacji sterty w ESP32 i sprawdza, czy po długim działaniu zostaje wystarczająco duży blok pamięci.
  • 100heap-dump-analyzer
    Prawdopodobnie analizuje zrzuty sterty w ramach testów wydajności i uruchamia się automatycznie przy frazach związanych z analizą zrzutu sterty.
  • 100pstack-runtime-forensics
    Diagnozuje objaw działającego systemu lub zapisany artefakt, na przykład profil CPU, zrzut sterty czy logi, do dowiedzionego mechanizmu i pliku z linią.
  • 100memory-audit
    Sprawdza kod wbudowany pod kątem przepełnienia stosu, fragmentacji sterty, wzorców alokacji statycznej i wycieków pamięci na urządzeniach o ograniczonych zasobach.
  • 100heap-sql
    Odpytuje indeks zrzutu sterty Jeffrey zapytaniami SQL w DuckDB: tabele class, instance, outbound_ref, gc_root, dominator i retained_size, gdy gotowe narzędzia heap nie odpowiadają na pytanie.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.