Added missing **kwargs to ManticoreEVM constructor (#686)

This commit is contained in:
ggrieco-tob
2018-01-05 12:39:25 -03:00
committed by GitHub
parent 3b796091c2
commit 743d479cbf
+2 -2
View File
@@ -581,7 +581,7 @@ class ManticoreEVM(Manticore):
return name, source_code, bytecode, runtime, srcmap, srcmap_runtime, hashes, abi, warnings
def __init__(self, procs=1):
def __init__(self, procs=1, **kwargs):
''' A Manticore EVM manager
:param int procs: number of workers to use in the exploration
'''
@@ -594,7 +594,7 @@ class ManticoreEVM(Manticore):
world = evm.EVMWorld(constraints)
initial_state = State(constraints, world)
initial_state.context['tx'] = []
super(ManticoreEVM, self).__init__(initial_state)
super(ManticoreEVM, self).__init__(initial_state, **kwargs)
self.detectors = {}
self.metadata = {}