mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-11-13 06:14:53 +00:00
After the final DIE in a compilation unit, there may be any number of zero bytes present. This is meant to allow producers to align compilation unit starting points when necessary. This patch changes the dwarf2reader::CompilationUnit class to skip those zero bytes, rather than interpreting them as 'end of children' markers for DIEs that do not exist. Without this change, the padding bytes will cause the reader to attempt to pop an offset from an empty stack, and call EndDIE with a garbage offset. a=jimblandy, r=mmentovai git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@667 4c0a9323-5329-0410-9bdc-e9ce6186880e |
||
|---|---|---|
| .. | ||
| bytereader-inl.h | ||
| bytereader.cc | ||
| bytereader.h | ||
| bytereader_unittest.cc | ||
| cfi_assembler.cc | ||
| cfi_assembler.h | ||
| dwarf2diehandler.cc | ||
| dwarf2diehandler.h | ||
| dwarf2diehandler_unittest.cc | ||
| dwarf2enums.h | ||
| dwarf2reader.cc | ||
| dwarf2reader.h | ||
| dwarf2reader_cfi_unittest.cc | ||
| functioninfo.cc | ||
| functioninfo.h | ||
| line_state_machine.h | ||
| types.h | ||