Skip to content

Commit

Permalink
vmray: complete pefile model tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-hunhoff committed Jul 19, 2024
1 parent 6ef485f commit 3b94961
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/test_vmray_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def test_vmray_model_pefile():
"exports": [
{
"api": {
"name": "HellWorld",
"name": "HelloWorld",
"ordinal": 10
},
"address": 2863311530
Expand All @@ -154,3 +154,7 @@ def test_vmray_model_pefile():

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

assert pefile.exports[0].address == 2863311530
assert pefile.exports[0].api.name == "HelloWorld"
assert pefile.exports[0].api.ordinal == 10

0 comments on commit 3b94961

Please sign in to comment.