[PATCH] D39185: [llvm-dwarfdump] - Fix array out of bounds access crash.
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 24 08:53:59 PDT 2017
grimar added a comment.
In https://reviews.llvm.org/D39185#905240, @aprantl wrote:
> Out of curiosity: does llvm-dwarfdump --verify fail on your testcase?
Yes, it complains:
Verifying .debug_abbrev...
Verifying .debug_info Unit Header Chain...
error: Units[1] - start offset: 0x00000020
note: The length for this unit is too large for the .debug_info provided.
note: The 16 bit unit header version is not valid.
note: The address size is unsupported.
Verifying .debug_info references...
Errors detected.
warning: DWARF compile unit extends beyond its bounds cu 0x00000000 at 0x0000002
1'
warning: DWARF compile unit extends beyond its bounds cu 0x00000000 at 0x0000002
1'
https://reviews.llvm.org/D39185
More information about the llvm-commits
mailing list