Skip to content

Commit

Permalink
loader: fix unhandled name error (#2411)
Browse files Browse the repository at this point in the history
  • Loading branch information
williballenthin authored Sep 30, 2024
1 parent 585dff8 commit ab43c8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions capa/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ def get_workspace(path: Path, input_format: str, sigpaths: List[Path]):
# to do a subclass check via isinstance.
if type(e) is Exception and "Couldn't convert rva" in e.args[0]:
raise CorruptFile(e.args[0]) from e
raise

viv_utils.flirt.register_flirt_signature_analyzers(vw, [str(s) for s in sigpaths])

Expand Down

0 comments on commit ab43c8c

Please sign in to comment.