Commit Graph
22 Commits
Author SHA1 Message Date
blacktopandGitHub b6980ffa53 feat(symbols): add ipsw symbols --json JSONL emitter (#1239) 2026-06-01 21:03:07 -06:00
codecoloristandGitHub fa2b1bf73b feat: optimize ipsw dyld a2s command speed (#1127) 2026-04-04 17:04:39 -06:00
blacktop 196d77de6f feat: add kernel C++ parsing to symbolicate cmds and APIs
Add API endpoints and CLI support for discovering C++ classes and symbolication of kernelcaches, refactor Mach-O handling, and improve symbol collection.

- API: add /kernel/cpp and /kernel/symbolicate routes, request param structs, response types, and openKernel helper. Use cpp scanner and signature parsing to return classes and symbol maps.
- CLI: wire scanner LogStats flag, refactor kernel symbolicate command (schema writer helper, improved signature parsing, and symbol matching logic). Add tests for symbolicator schema and kernel symbol matching.
- Signature pkg: add kernel C++ symbol extraction (pkg/signature/kernel_cpp.go) and SymbolicateMachO to symbolicate already-open Mach-Os; integrate C++ symbols into symbol map and update signature matching/logging behavior.
- Internal: refactor in-memory DB lookups (findMachOByUUID, findSymbolByAddr) to reduce duplication. Improve symbols collection for kernel Mach-Os (collectKernelMachoSymbols, extra kernel symbols from signature/C++), add helpers to append symbols.
- Kernelcache CPP: add LogStats option and conditional logging of scan stats.
- Crashlog/ips: update wording to reflect kernel symbols are from kernel analysis and store KernelSymbols earlier in processing; parse signatures only when configured.

Also add unit tests for new symbolication helpers and kernel C++ signature handling. Overall this consolidates kernel symbol discovery, improves reuse, and surfaces C++-derived symbols in symbol maps.
2026-03-10 12:20:12 -06:00
blacktop d221d585e0 feat: add /syms/rescan route to ipswd to allow and IPSW to be rescanned w/ say NEW symbolicator signatures etc 2024-09-25 16:05:01 -06:00
blacktop 2aac2408bd chore: improve storage size of symbol server data (postgres) 2024-09-25 13:45:18 -06:00
blacktop 79738d8e01 feat: add syscalls and mach_traps to ipsw kernel sym cmd 2024-07-20 22:49:41 -06:00
blacktop a391fda3af chore: switch from pkl to JSON for symbolication signature format 2024-07-18 23:15:11 -06:00
blacktop 7c017dd926 chore: reorg signature code 2024-07-16 22:39:35 -06:00
blacktop 23e9e4a67e feat: add kernel symbolication support to ipsw symbolicate panic IPSW cmd 2024-07-16 16:50:30 -06:00
blacktop 42ae87262d chore: adding initial kernel symbolication support to ipswd's /syms/scan API 2024-07-16 09:29:28 -06:00
blacktop b71f77f7ae feat: add support for --pem-db everywhere it's needed to allow for external AEA pem key JSON databases to be used 2024-07-08 22:14:10 -06:00
blacktop 5cce056e0c chore: add ability for the ipsw symbolicate symbol server to tell you it doesn't have the required IPSW scanned yet 2024-07-05 17:37:15 -06:00
blacktop 292015ce74 feat: add caching to ipsw symbolciate --server symbol server lookups 2024-07-05 16:53:28 -06:00
blacktop 29b8785af8 feat: add support for using **symbol server** with ipsw symbolicate command 2024-07-05 15:03:25 -06:00
blacktop 0188299c1e chore: add support for non-MH_FILESET kernels to syms.Scan 2024-07-05 12:30:20 -06:00
blacktop 8229d8e5d9 fix: many fixes to symbolication and the symbol server 2024-07-04 00:26:55 -06:00
blacktop 9f56962735 feat: add ability to query symbols via ipswd API routes /api/syms/:uuid and /api/syms/:uuid/:addr 2024-07-03 17:02:08 -06:00
blacktop e6d67d96a9 Update syms.go 2024-07-02 22:03:59 -06:00
blacktop 9dcf363f2a fix: postgres Database 2024-07-02 21:58:49 -06:00
blacktop 852eefdf40 Update syms.go 2024-07-02 20:54:24 -06:00
blacktop dfe5565a3b fix: symbol server database code 2024-07-02 20:44:21 -06:00
blacktop 69173b32f5 feat: add NEW /syms/scan route to ipswd API to gen symbol server from IPSW 2024-07-02 10:12:14 -06:00