Skip to content

Commit

Permalink
vmray: refactor model tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-hunhoff committed Jul 19, 2024
1 parent 4dfc53a commit 6ef485f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_vmray_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,10 @@ def test_vmray_model_pefile():
)

assert pefile.basic_info.image_base == 2863311530

assert pefile.imports[0].dll == "KERNEL32.dll"
assert pefile.imports[0].apis[0].address == 2863311530
assert pefile.imports[0].apis[0].api.name == "Sleep"

assert pefile.sections[0].name == ".text"
assert pefile.sections[0].virtual_address == 2863311530

0 comments on commit 6ef485f

Please sign in to comment.