summaryrefslogtreecommitdiff
path: root/tests/format/elf
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-09-10 15:59:44 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-09-10 15:59:44 (GMT)
commit49f75f22fe67ac356f05c7f81d3a78c48461655b (patch)
tree063b9c55fd5e0a498289fbdc902b14990976a41d /tests/format/elf
parentfe884ef58959412972a5a84231d1ee06f34a80be (diff)
Updated the Python bindings used to load Elf and Dex files.
Diffstat (limited to 'tests/format/elf')
-rw-r--r--tests/format/elf/non_existing_binary.py2
-rw-r--r--tests/format/elf/oob_section_name.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/format/elf/non_existing_binary.py b/tests/format/elf/non_existing_binary.py
index 6111f03..a6eddd3 100644
--- a/tests/format/elf/non_existing_binary.py
+++ b/tests/format/elf/non_existing_binary.py
@@ -21,4 +21,4 @@ class TestNonExistingBinary(ChrysalideTestCase):
with self.assertRaisesRegex(TypeError, 'The argument must be an instance of BinContent.'):
- fmt = ElfFormat(cnt)
+ fmt = ElfFormat(cnt, None, None)
diff --git a/tests/format/elf/oob_section_name.py b/tests/format/elf/oob_section_name.py
index 8f91efd..a478ec7 100644
--- a/tests/format/elf/oob_section_name.py
+++ b/tests/format/elf/oob_section_name.py
@@ -44,5 +44,5 @@ class TestNonExistingBinary(ChrysalideTestCase):
cnt = FileContent(fullname[:baselen] + 'oob_section_name')
self.assertIsNotNone(cnt)
- fmt = ElfFormat(cnt)
+ fmt = ElfFormat(cnt, None, None)
self.assertIsInstance(fmt, ElfFormat)