diff --git a/manticore/ethereum.py b/manticore/ethereum.py index cf2c9e7..7e3a6c3 100644 --- a/manticore/ethereum.py +++ b/manticore/ethereum.py @@ -376,6 +376,9 @@ class ABI(object): dyn_offset = 4 + get_uint(256,offset) size = get_uint(256, dyn_offset) return data[dyn_offset+32:dyn_offset+32+size], offset+4 + elif ty.startswith('bytes') and 0 <= int(ty[5:]) <= 32: + size = int(ty[5:]) + return data[offset:offset+size], offset+32 else: raise NotImplementedError(ty)