Prior to this commit, Go's built-in elf.File.DWARF() function was
used to extract DWARF data from an ELF file. This code applies ELF
relocations prior to parsing.
Several Linux kernels were encountered that causes panics due to
stack depth. The root cause was determined to be invalid DWARF
offsets due to ELF relocations.
This commit forks the DWARF() function into its own file and removes
the relocation processing. The code is otherwise unchanged.
main.go has been updated to call the local function instead of the
library.
Prior to this commit, Go's built-in elf.File.DWARF() function was used to extract DWARF data from an ELF file. This code applies ELF relocations prior to parsing.
Several Linux kernels were encountered that causes panics due to stack depth. The root cause was determined to be invalid DWARF offsets due to ELF relocations.
This commit forks the DWARF() function into its own file and removes the relocation processing. The code is otherwise unchanged.
main.go has been updated to call the local function instead of the library.
Addresses issue #15.