Skip to main content

cortex-crash

All-in-one ARM Cortex-M HardFault triage suite: decode CFSR status registers, unwind hardware-stacked frames with addr2line, and generate drop-in C/ASM fault capture stubs.

Installation

pip install cortex-crash

Usage

Print drop-in naked C/ASM HardFault handler

cortex-crash init-c

Decode fault registers

cortex-crash cfsr 0x00010200 0x20001FF7

Unwind 8-word stack frame and resolve line from ELF

cortex-crash unwind 0x0 0x1 0x20000000 0x40021000 0x0 0x08001255 0x08001290 0x21000000 app.elf

Unified triage

cortex-crash parse --cfsr 0x00010200 --bfar 0x20001FF7 --frame 0x0 0x1 0x20000000 0x40021000 0x0 0x08001255 0x08001290 0x21000000

License

MIT — Trust & Thread

Metadata

Release files for cortex-crash 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cortex-crash 1.3.0
File Size Uploaded Provenance Actions
cortex_crash-1.3.0.tar.gz 14.0 kB Without provenance Details for cortex_crash-1.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cortex-crash 1.3.0
File Interpreter ABI Platform Actions
cortex_crash-1.3.0-py3-none-any.whl Python 3 none any Details for cortex_crash-1.3.0-py3-none-any.whl

Total release size: 30.1 kB

Release files / cortex_crash-1.3.0.tar.gz

Download URL cortex_crash-1.3.0.tar.gz
Size 14.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c655f0782d5358911be0cd0260c4f87e544331883cc21b4d763cd4a7b950ff7a
BLAKE2b-256 checksum
How to use checksums
7c1ed3e6126af0eb7f9678b48a0dcb60a579ee9813f521e3d2b8e818f912a6ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.9

Release files / cortex_crash-1.3.0-py3-none-any.whl

Download URL cortex_crash-1.3.0-py3-none-any.whl
Size 16.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0ff13c1bae0cd87b8e44ed030f0726e9185ae1c54dbec6806476594836c077f0
BLAKE2b-256 checksum
How to use checksums
35c2f3aabe34120e7a31d983f7dd51708ddfbc49883a90d54fb452cd8e68f534
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.9

Security for cortex-crash 1.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page