Re: [Dwarf-discuss] Facing a issue in contents of dwarf debug info section in an ELF file

2023-09-25 Thread Rishi Raj via Dwarf-discuss
Thanks, it worked. On Mon, 25 Sept 2023, 12:42 Kyle Huey, wrote: > Most likely the .debug_info section is SHF_COMPRESSED. Try compiling with > -gz=none. > > - Kyle > > On Mon, Sep 25, 2023, 1:36 PM Rishi Raj via Dwarf-discuss < > dwarf-discuss@lists.dwarfstd

[Dwarf-discuss] Facing a issue in contents of dwarf debug info section in an ELF file

2023-09-24 Thread Rishi Raj via Dwarf-discuss
I am trying to implement a dwarf parser in C++ without using any external dependencies. As mentioned in dwarf5 standard, debug info first 4 bytes or 12 bytes denotes the unit length Basically this: unit_length (initial length) A 4-byte or 12-by