Skip to content

Commit

Permalink
loader: fix unhandled name error
Browse files Browse the repository at this point in the history
  • Loading branch information
williballenthin authored Sep 30, 2024
1 parent 80899f3 commit 58ba6a1
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 58ba6a1

Please sign in to comment.