Skip to content

Commit 4f57fc6

Browse files
committed
fix mmh3.hash64 argument by converting to bytes
1 parent 8a04c44 commit 4f57fc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kafl_fuzzer/worker/execution_result.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def hash(self, pre_lut=False):
6363
assert not pre_lut, "Request pre-LUT hash but LUT has been applied already."
6464
else:
6565
self.apply_lut()
66-
return "%016x" % mmh3.hash64(self.cbuffer, seed=0xaaaaaaaa, x64arch=True, signed=False)[0]
66+
return "%016x" % mmh3.hash64(bytes(self.cbuffer), seed=0xaaaaaaaa, x64arch=True, signed=False)[0]
6767

6868
def apply_lut(self):
6969
if not self.lut_applied:

0 commit comments

Comments
 (0)