diff options
Diffstat (limited to 'suite/testcommon.py')
| -rw-r--r-- | suite/testcommon.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/suite/testcommon.py b/suite/testcommon.py index d81f263b..193ce5d8 100644 --- a/suite/testcommon.py +++ b/suite/testcommon.py @@ -106,12 +106,12 @@ class BinaryViewTestBuilder(Builder): - Function doc string used as 'on error' message - Should return: list of strings """ - def __init__(self, filename, imageBase=None): + def __init__(self, filename, options=None): self.filename = os.path.join(os.path.dirname(__file__), filename) - if imageBase is None: + if options is None: self.bv = BinaryViewType.get_view_of_file(self.filename) else: - self.bv = BinaryViewType.get_view_of_file_with_options(self.filename, options={'loader.imageBase' : imageBase}) + self.bv = BinaryViewType.get_view_of_file_with_options(self.filename, options=options) if self.bv is None: print("%s is not an executable format" % filename) return |
