Skip to content

Commit

Permalink
Change types.FunctionType=<class 'function'> (#1803)
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Hennenfent <eric.hennenfent@trailofbits.com>
  • Loading branch information
Rodothea Myrsini (Romy) Tsoupidi and Eric Hennenfent committed Sep 22, 2020
1 parent 1480f4b commit ca50424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manticore/wasm/structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def load(cls, filename: str):
:param filename: name of the WASM module
:return: Module
"""
type_map = {-16: types.FunctionType, -4: F64, -3: F32, -2: I64, -1: I32}
type_map = {-16: FunctionType, -4: F64, -3: F32, -2: I64, -1: I32}

m: Module = cls()
with open(filename, "rb") as wasm_file:
Expand Down

0 comments on commit ca50424

Please sign in to comment.