radareorg/radare2

Loading variable names from DWARF and PDB

Open

#7,863 opened on 2017年7月5日

GitHub で見る
 (2 comments) (0 reactions) (3 assignees)C (3,229 forks)batch import
DWARFHacktoberfestPDBRAnaldebug-infoenhancementvars

Repository metrics

Stars
 (23,826 stars)
PR merge metrics
 (平均マージ 16h 24m) (30d で 99 merged PRs)

説明

DWARF

Radare2 does not output variable/attribute names (DW_AT_name). As a result, local function variables in binaries with debuginfo aren't named and still use "local_XX".

For example:

  1. Compile a binary with "-g3"
  2. Compare the output of objdump -g a.out, readelf --debug-dump=info a.out and rabin2 -d a.out

It would be fantastic if we could automatically rename "local_XX" by thier DW_AT_name for binaries with debuginfo.

PDB

Same applies here

コントリビューターガイド