diff options
| author | Ajax <commial@gmail.com> | 2015-03-19 10:04:24 +0100 |
|---|---|---|
| committer | Ajax <commial@gmail.com> | 2015-03-19 10:04:24 +0100 |
| commit | 1c9d151e718865adefd01d9c6668ef84c2890c59 (patch) | |
| tree | e508663e6e671f38a337740a73a49d4e431b551e | |
| parent | f05424a7acf75f7ab490e9df72c0006380def927 (diff) | |
| download | miasm-1c9d151e718865adefd01d9c6668ef84c2890c59.tar.gz miasm-1c9d151e718865adefd01d9c6668ef84c2890c59.zip | |
Container: Init attributes with None
| -rw-r--r-- | miasm2/analysis/binary.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/miasm2/analysis/binary.py b/miasm2/analysis/binary.py index f5cecc87..ff01cbc5 100644 --- a/miasm2/analysis/binary.py +++ b/miasm2/analysis/binary.py @@ -88,6 +88,12 @@ class Container(object): def __init__(self, *args, **kwargs): "Alias for 'parse'" + # Init attributes + self._executable = None + self._bin_stream = None + self._entry_point = None + + # Launch parsing self.parse(*args, **kwargs) @property |