about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--miasm/analysis/binary.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm/analysis/binary.py b/miasm/analysis/binary.py
index 0548dc9d..c278594b 100644
--- a/miasm/analysis/binary.py
+++ b/miasm/analysis/binary.py
@@ -64,14 +64,14 @@ class Container(object):
         cls.fallback_container = container
 
     @classmethod
-    def from_stream(cls, stream, *args, **kwargs):
+    def from_stream(cls, stream, loc_db, *args, **kwargs):
         """Instantiate a container and parse the binary
         @stream: stream to use as binary
         @vm: (optional) VmMngr instance to link with the executable
         @addr: (optional) Base address of the parsed binary. If set,
                force the unknown format
         """
-        return Container.from_string(stream.read(), *args, **kwargs)
+        return Container.from_string(stream.read(), loc_db, *args, **kwargs)
 
     def parse(self, data, *args, **kwargs):
         """Launch parsing of @data