file & line information from an address.
- Issue #7: parsing incorrect DWARF was made a bit more forgiving for cases
where serialized DIE trees have extra NULLs at the end.
- - Pull request 6: very initial support for ARM ELF files (Matthew Fernandez).
- - Pull request 7: support for dumping the dynamic section (Mike Frysinger).
+ - Very initial support for ARM ELF files (Matthew Fernandez - pull
+ request #6).
+ - Support support for dumping the dynamic section (Mike Frysinger - pull
+ request #7).
+ Version 0.20 (27.01.2012)
Specifies whether this DIE has children
abbrev_code:
- The abbreviation code pointing to an abbreviation entry (not
+ The abbreviation code pointing to an abbreviation entry (note
that this is for informational pusposes only - this object
interacts with its abbreviation table transparently).
{
- "folders":
- [
- {
- "path": ".",
- "folder_exclude_patterns": ["build", "dist", ".tox", ".hg"]
- }
- ]
+ "folders":
+ [
+ {
+ "path": ".",
+ "folder_exclude_patterns": ["build", "dist", ".tox", ".hg"]
+ }
+ ]
}
#
die_depth = 0
for die in cu.iter_DIEs():
- if die.is_null():
- die_depth -= 1
- continue
- self._emitline(' <%s><%x>: Abbrev Number: %s (%s)' % (
+ self._emitline(' <%s><%x>: Abbrev Number: %s%s' % (
die_depth,
die.offset,
die.abbrev_code,
- die.tag))
+ (' (%s)' % die.tag) if not die.is_null() else ''))
+ if die.is_null():
+ die_depth -= 1
+ continue
for attr in itervalues(die.attributes):
name = attr.name