{"id":39534043,"url":"https://github.com/vcabbage/stackparse","last_synced_at":"2026-01-18T06:31:31.795Z","repository":{"id":57495966,"uuid":"205605963","full_name":"vcabbage/stackparse","owner":"vcabbage","description":null,"archived":false,"fork":false,"pushed_at":"2019-08-31T23:43:28.000Z","size":10,"stargazers_count":24,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-11T04:24:10.357Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vcabbage.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-31T23:17:16.000Z","updated_at":"2022-11-09T19:30:03.000Z","dependencies_parsed_at":"2022-08-28T20:11:24.782Z","dependency_job_id":null,"html_url":"https://github.com/vcabbage/stackparse","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vcabbage/stackparse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcabbage%2Fstackparse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcabbage%2Fstackparse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcabbage%2Fstackparse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcabbage%2Fstackparse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vcabbage","download_url":"https://codeload.github.com/vcabbage/stackparse/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcabbage%2Fstackparse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28531997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-18T06:31:31.643Z","updated_at":"2026-01-18T06:31:31.749Z","avatar_url":"https://github.com/vcabbage.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stackparse\n\nReplaces hex values in stack traces with type information and human readable values.\n\nStatus: Works on my machine when I hold it right.\n\nKnown Issues:\n\n* Code paths in stacktrace must match local filesystem paths.\n* Pointer size and endianness of system running stackparse must be the same as system the trace is from.\n* Does not work for functions implemented in assembly.\n* Does not work for builtin functions.\n\nExample:\n\n``` go\npackage main\n\ntype S struct {\n\tA int\n\tb bool\n\tint\n}\n\nfunc main() {\n\tMyFunc(123, 36, nil, \"hello\", S{A: 76, b: true, int: 789}, [4]int{1, 2, 3, 5})\n}\n\n// If function is inlined there are no arguments to parse.\n\n//go:noinline\nfunc MyFunc(h int8, a int16, x chan int, s string, p S, e [4]int) {\n\tpanic(\"dang\")\n}\n```\n\n(w/ `GOTRACEBACK=crash` to illustrate runtime information)\n```\npanic: dang\n\ngoroutine 1 [running]:\npanic(0x45b1a0, 0x47ced0)\n\t/home/kale/goroots/go1.12/src/runtime/panic.go:565 +0x2c5 fp=0xc000048710 sp=0xc000048680 pc=0x423135\nmain.MyFunc(0x24507b, 0x0, 0x46f1c5, 0x5, 0x4c, 0xc000016001, 0x315, 0x1, 0x2, 0x3, ...)\n\t/home/kale/go/src/github.com/vcabbage/example/main.go:17 +0x39 fp=0xc000048730 sp=0xc000048710 pc=0x44f9f9\nmain.main()\n\t/home/kale/go/src/github.com/vcabbage/example/main.go:10 +0x7a fp=0xc000048798 sp=0xc000048730 pc=0x44f9aa\nruntime.main()\n\t/home/kale/goroots/go1.12/src/runtime/proc.go:200 +0x20c fp=0xc0000487e0 sp=0xc000048798 pc=0x424e1c\nruntime.goexit()\n\t/home/kale/goroots/go1.12/src/runtime/asm_amd64.s:1337 +0x1 fp=0xc0000487e8 sp=0xc0000487e0 pc=0x449631\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x4738f8, 0x4c1a80, 0x1410, 0x1)\n\t/home/kale/goroots/go1.12/src/runtime/proc.go:301 +0xef fp=0xc000048fb0 sp=0xc000048f90 pc=0x4251ff\nruntime.goparkunlock(...)\n\t/home/kale/goroots/go1.12/src/runtime/proc.go:307\nruntime.forcegchelper()\n\t/home/kale/goroots/go1.12/src/runtime/proc.go:250 +0xb7 fp=0xc000048fe0 sp=0xc000048fb0 pc=0x4250a7\nruntime.goexit()\n\t/home/kale/goroots/go1.12/src/runtime/asm_amd64.s:1337 +0x1 fp=0xc000048fe8 sp=0xc000048fe0 pc=0x449631\ncreated by runtime.init.5\n\t/home/kale/goroots/go1.12/src/runtime/proc.go:239 +0x35\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x4738f8, 0x4c1b60, 0x140c, 0x1)\n\t/home/kale/goroots/go1.12/src/runtime/proc.go:301 +0xef fp=0xc0000497a8 sp=0xc000049788 pc=0x4251ff\nruntime.goparkunlock(...)\n\t/home/kale/goroots/go1.12/src/runtime/proc.go:307\nruntime.bgsweep(0xc000066000)\n\t/home/kale/goroots/go1.12/src/runtime/mgcsweep.go:70 +0x9c fp=0xc0000497d8 sp=0xc0000497a8 pc=0x41a13c\nruntime.goexit()\n\t/home/kale/goroots/go1.12/src/runtime/asm_amd64.s:1337 +0x1 fp=0xc0000497e0 sp=0xc0000497d8 pc=0x449631\ncreated by runtime.gcenable\n\t/home/kale/goroots/go1.12/src/runtime/mgc.go:208 +0x58\nsignal: aborted (core dumped)\n```\n\nbecomes\n\n```\npanic: dang\n\ngoroutine 1 [running]:\npanic(0x45b1a0, 0x47ced0)\n\t/home/kale/goroots/go1.12/src/runtime/panic.go:565 +0x2c5 fp=0xc000048710 sp=0xc000048680 pc=0x423135\nmain.MyFunc(h int8(123), a int16(36), x (chan int)(nil), s string{data: 0x46f1c5, len: 5}, p S{A: int(76), b: bool(true), int: int(789)}, e [4]int[1, 2, 3, ...])\n\t/home/kale/go/src/github.com/vcabbage/example/main.go:17 +0x39 fp=0xc000048730 sp=0xc000048710 pc=0x44f9f9\nmain.main()\n\t/home/kale/go/src/github.com/vcabbage/example/main.go:10 +0x7a fp=0xc000048798 sp=0xc000048730 pc=0x44f9aa\nruntime.main()\n\t/home/kale/goroots/go1.12/src/runtime/proc.go:200 +0x20c fp=0xc0000487e0 sp=0xc000048798 pc=0x424e1c\nruntime.goexit()\n\t/home/kale/goroots/go1.12/src/runtime/asm_amd64.s:1337 +0x1 fp=0xc0000487e8 sp=0xc0000487e0 pc=0x449631\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(unlockf (func(*g, unsafe.Pointer) bool)(0x4738f8), lock unsafe.Pointer(0x4c1a80), reason waitReason(16), traceEv byte(20), traceskip int(1))\n\t/home/kale/goroots/go1.12/src/runtime/proc.go:301 +0xef fp=0xc000048fb0 sp=0xc000048f90 pc=0x4251ff\nruntime.goparkunlock(lock ...)\n\t/home/kale/goroots/go1.12/src/runtime/proc.go:307\nruntime.forcegchelper()\n\t/home/kale/goroots/go1.12/src/runtime/proc.go:250 +0xb7 fp=0xc000048fe0 sp=0xc000048fb0 pc=0x4250a7\nruntime.goexit()\n\t/home/kale/goroots/go1.12/src/runtime/asm_amd64.s:1337 +0x1 fp=0xc000048fe8 sp=0xc000048fe0 pc=0x449631\ncreated by runtime.init.5\n\t/home/kale/goroots/go1.12/src/runtime/proc.go:239 +0x35\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(unlockf (func(*g, unsafe.Pointer) bool)(0x4738f8), lock unsafe.Pointer(0x4c1b60), reason waitReason(12), traceEv byte(20), traceskip int(1))\n\t/home/kale/goroots/go1.12/src/runtime/proc.go:301 +0xef fp=0xc0000497a8 sp=0xc000049788 pc=0x4251ff\nruntime.goparkunlock(lock ...)\n\t/home/kale/goroots/go1.12/src/runtime/proc.go:307\nruntime.bgsweep(c (chan int)(0xc000066000))\n\t/home/kale/goroots/go1.12/src/runtime/mgcsweep.go:70 +0x9c fp=0xc0000497d8 sp=0xc0000497a8 pc=0x41a13c\nruntime.goexit()\n\t/home/kale/goroots/go1.12/src/runtime/asm_amd64.s:1337 +0x1 fp=0xc0000497e0 sp=0xc0000497d8 pc=0x449631\ncreated by runtime.gcenable\n\t/home/kale/goroots/go1.12/src/runtime/mgc.go:208 +0x58\nsignal: aborted (core dumped)\n\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvcabbage%2Fstackparse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvcabbage%2Fstackparse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvcabbage%2Fstackparse/lists"}