Commit Graph
30 Commits
Author SHA1 Message Date
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 d95682c52b fix: add --pg-poolmode to ipsw ent cmd 2025-08-16 10:13:56 -06:00
blacktop 57d36998e3 chore: add viper config to all commands 2025-07-15 17:19:37 -06:00
blacktop 95f4679648 fix: IPSW SQL Schema error for buildid field 2025-07-03 12:15:05 -06:00
blacktop c573463dd1 docs: many optimizations to decrease DB size and amount of queries to keep us in the supabase free tier 🤞 2025-06-18 16:09:37 -06:00
blacktopandGitHub beac6c4d38 docs: entitlement database - move from sql.js-httpvfs to hosted postgres (#770) 2025-06-17 15:19:40 -06:00
blacktop 9c7eb80b30 docs: update entitlements DB schema 2025-06-17 00:36:59 -06:00
blacktop 8af4753892 chore: update entitlements DB code to decrease the size of the DB 2025-06-16 21:49:43 -06:00
blacktop 432375f398 chore: attempt to optimize ent db for loading over web 2025-06-09 00:04:58 -06:00
blacktopandGitHub 4872f5998f feat: 🆕 Entitlements DB web UI in docs site (#751) 2025-06-08 22:30:03 -06:00
blacktop 7b938f50cb fix: two edge case errors w/ AI decompiler sym cache + AI cache 2025-05-22 12:06:26 -06:00
blacktop f2b473a269 feat: add caching for Copilot token and LLM models to decrease API calls and avoid rate limiting 2025-05-07 13:15:36 -06:00
blacktop 9937fe2af1 feat: add caching to ipsw disass --dec commands + --dec-theme to config syntax theme 2025-05-06 21:54:10 -06:00
blacktop 6cca9a980d refactor: replace interface{} with any and simplify loop constructs 2025-03-26 22:53:29 -06:00
blacktop c80b9c3491 fix: small optimization in postgres name/path processors 2024-10-02 14:51:08 -06:00
blacktop fda8c8e071 fix: postgres name/path table joins 2024-09-25 15:22:37 -06:00
blacktop 2aac2408bd chore: improve storage size of symbol server data (postgres) 2024-09-25 13:45:18 -06:00
blacktop 74a8933b9a chore: return 409 when scanning the same IPSW via ipswd /syms/scan route 2024-09-19 18:48:28 -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 8229d8e5d9 fix: many fixes to symbolication and the symbol server 2024-07-04 00:26:55 -06:00
blacktop e4633fb3a2 docs: minor API doc fix 2024-07-03 17:43:39 -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 9dcf363f2a fix: postgres Database 2024-07-02 21:58:49 -06:00
blacktop c11351c02a Update memory.go 2024-07-02 20:59:05 -06:00
blacktop b6f8b488e9 chore: rm DB() from Database interface 2024-07-02 20:52:47 -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
blacktop 9ce1d11a5f chore: add initial database support to ipswd 2024-07-02 10:12:10 -06:00
blacktop 7859b175d2 Update memory.go 2024-06-26 10:55:48 -06:00
blacktopandGitHub f85daa1ac3 feat: ipsw daemon (API) (#219) 2023-04-12 20:00:05 -06:00