cortex-crash 1.0.2
“All-in-one ARM Cortex-M HardFault triage suite (CFSR decoder, stack unwinder, C handlers)”
Imports Python's subprocess moduleChild-process launch capability
SHA-2569f5777093d07fb2dadae0124faa0a88bbcf06d51354fc81dc47a01c951474781
MaleculeH₂(DbPo₂)Md(Pa)
Evidence
1"""Stack unwinder and symbol resolution logic."""
2
3import shutil
4import subprocess
5
6FRAME_REGS = ["r0", "r1", "r2", "r3", "r12", "lr", "pc", "xpsr"]
7
8EXC_RETURN_KIND = {
9 0x01: ("Handler mode, MSP, no FP", F …
⋯13 lines
27 return None
28 try:
29 r = subprocess.run([tool, "-f", "-C", "-e", elf, f"0x{addr:08X}"],
30 capture_output=True, text=True, timeout=10)
31 lines = [l.strip() for l in r.stdout.strip().splitlines() if l.strip()]
32 if len(lines) >= 2 a …
7:23… rint_snippet
8
9VERSION = "1.0.2"
10
11def parse_hex(val):
12 return int(val.strip().lower().replace("0x", "").replace(",", ""), 16)
13
14def main():
15 parser = argparse.ArgumentParser(
16 prog="cortex-crash",
17 description="Unified ARM Cortex-M Crash Diagnos …
No evidence locations were recorded for this file. Raw result