Skip to content

gopclntab: Parse the remaining _func fields and decode pcvalue tables on demand. - #813

Open
ltfish wants to merge 1 commit into
masterfrom
feat/gopclntab-func-info
Open

gopclntab: Parse the remaining _func fields and decode pcvalue tables on demand.#813
ltfish wants to merge 1 commit into
masterfrom
feat/gopclntab-func-info

Conversation

@ltfish

@ltfish ltfish commented Sep 4, 2026

Copy link
Copy Markdown
Member

No description provided.

… on demand.

GoFunction now carries args, deferreturn, the pcsp/pcfile/pcln offsets, npcdata,
cu_offset, start_line (1.20+), func_id, flag and nfuncdata; GoPclntab gains
pcvalue/pcsp/sp_delta/pcln/pcfile/pcdata decoders and function_at(). The 1.16/1.17
layout (pointer-sized entries, 7-word header) is supported as well. Every
expectation in the tests was cross-checked against Go's debug/gosym.
@ltfish ltfish self-assigned this Sep 4, 2026
@angr-bot

angr-bot commented Sep 4, 2026

Copy link
Copy Markdown
Member

Corpus decompilation diffs can be found at angr/dec-snapshots@master...angr/cle_813

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants