REA debug symbol notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

REA can ask caller-supplied GNU objdump for a DWARF dump on one local image — without installing binutils or talking to debuginfod. Prefer reverse-engineering-tools.md.

Minimal path

rea inspect-with-objdump /absolute/path/to/program dwarf
rea inspect-with-objdump /absolute/path/to/program dwarf --follow-debug-links

MCP inspect_with_objdump uses operation: "dwarf" and optional follow_debug_links: true.

Mental model

  1. Raw objdump stdout/stderr is the authoritative Evidence payload.
  2. SHA-256 digests before/after the call are recorded; they cannot prove bytes if the file races.
  3. Following debug links changes what objdump reads — and drops Evidence binding for those external files.
  4. Prefer ELF notes / binary layout when you need structured facts without a disassembler dump.

Debug info can expose proprietary type and path names. Inspect only images and debug companions you are authorized to examine.

RepoRead is unofficial. Prefer reverse-engineering-tools.md.

FAQ

Does REA install objdump or pull debuginfod packages?

No. You supply GNU objdump. For DWARF, REA clears DEBUGINFOD_URLS in the child environment so debuginfod network access is disabled on binutils builds that lack -WE.

Are external debug links followed by default?

No. Set follow_debug_links true / --follow-debug-links to pass -WK. Upstream warns external debug-file identities are not bound to Evidence when following links is enabled.

CLI examples?

rea inspect-with-objdump ./program dwarf and rea inspect-with-objdump ./program dwarf --follow-debug-links

Which operations exist besides dwarf?

file_headers, section_headers, symbols, relocations, dwarf, disassemble, disassemble_all (plus architectures listing via list-objdump-architectures).

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources