Skip to content

Commit

Permalink
Add testcase for #1049
Browse files Browse the repository at this point in the history
Close #1049
  • Loading branch information
romainthomas committed Apr 28, 2024
1 parent d078438 commit 96240ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/pe/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,3 +542,7 @@ def test_overlay():

def test_path_like():
assert lief.PE.parse(Path(get_sample('PE/PE32_x86-64_binary_avast-free-antivirus-setup-online.exe'))) is not None

def test_issue_1049():
pe = lief.PE.parse(get_sample("PE/issue_1049.exe"))
assert pe is not None

0 comments on commit 96240ed

Please sign in to comment.