Skip to content

Commit

Permalink
Include ME objects (#43)
Browse files Browse the repository at this point in the history
Previously, the ME `PartitionEntry` did not include the embedded
manifest object. This meant object enumeration would stop before
any manifest/module/entries were seen or counted.
  • Loading branch information
Teddy Reed authored Jun 26, 2016
1 parent 04f3cfe commit fc50c86
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions uefi_firmware/me.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,12 @@ def __init__(self, data, offset):
self.has_content = False
self.data = data[self.structure.Offset:partition_end]

@property
def objects(self):
if self.manifest is not None:
return [self.manifest]
return []

def process(self):
if not self.has_content:
return True
Expand Down

0 comments on commit fc50c86

Please sign in to comment.