Skip to content

Commit

Permalink
Update capa/features/extractors/binexport2/extractor.py
Browse files Browse the repository at this point in the history
  • Loading branch information
williballenthin authored Aug 23, 2024
1 parent f0fc44e commit 5b3962f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions capa/features/extractors/binexport2/extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ def __init__(self, be2: BinExport2, buf: bytes):
self.os.add(feature.value)
elif isinstance(feature, Arch):
self.arch.add(feature.value)
else:
raise ValueError("unexpected global feature: %s", feature)

def get_base_address(self) -> AbsoluteVirtualAddress:
return AbsoluteVirtualAddress(self.analysis.base_address)
Expand Down

0 comments on commit 5b3962f

Please sign in to comment.