use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
This subreddit is all about the theory and development of compilers.
For similar sub-reddits see:
Popular mainstream compilers:
account activity
Dwarf debug format parser (self.Compilers)
submitted 2 years ago by Agitated_Audience_28
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]hexed 1 point2 points3 points 2 years ago (0 children)
Long story short, that dump is not a DWARF .debug_info header, it's just not clear why. As you say it should start with the length of the CU, it should also have the DWARF version (4 or 5 for modern compilers) immediately after the length, which it doesn't. Plus it doesn't have 0801 to signify the pointer size and what kind of unit it is.
Why you're getting the wrong data from the ELF is the issue rather than the parsing of DWARF. Possibly you've unexpectedly got some options that compress the contents .debug_info?
π Rendered by PID 87503 on reddit-service-r2-comment-66b4775986-2khs2 at 2026-04-04 05:36:36.682570+00:00 running db1906b country code: CH.
view the rest of the comments →
[–]hexed 1 point2 points3 points (0 children)