We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3dc140 commit a09aabaCopy full SHA for a09aaba
plugins/rizzo/rizzo.py
@@ -34,6 +34,7 @@
34
import time
35
import pickle # http://natashenka.ca/pickle/
36
import collections
37
+import hashlib
38
39
from shims import ida_shims
40
@@ -163,7 +164,11 @@ def load(self):
163
164
return sigs
165
166
def sighash(self, value):
- return hash(str(value)) & 0xFFFFFFFF
167
+ h = hashlib.md5()
168
+ h.update(value.encode("utf-8"))
169
+ hash_value = h.hexdigest()
170
+ del(h)
171
+ return hash_value
172
173
def block(self, block):
174
'''
@@ -340,7 +345,6 @@ def match(self, extsigs):
340
345
strings = {}
341
346
immediates = {}
342
347
343
-
344
348
# Match formal function signatures
349
start = time.time()
350
for (extsig, ext_func_ea) in extsigs.formal.items():
0 commit comments