-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/androguard/core/mutf8.py", line 153, in startswith
return bytes.startswith(self, sub)
TypeError: startswith first arg must be bytes or a tuple of bytes, not str
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/quark/utils/graph.py", line 21, in wrapper_lookup
wrapper_lookup(wrapper, next_level_method, native_api)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/quark/utils/graph.py", line 21, in wrapper_lookup
wrapper_lookup(wrapper, next_level_method, native_api)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/quark/utils/graph.py", line 21, in wrapper_lookup
wrapper_lookup(wrapper, next_level_method, native_api)
[Previous line repeated 991 more times]
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/quark/utils/graph.py", line 15, in wrapper_lookup
elif method.is_android_api():
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/androguard/core/analysis/analysis.py", line 616, in is_android_api
if self.method.get_class_name().startswith(candidate):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/androguard/core/mutf8.py", line 155, in startswith
return bytes.startswith(self, encode(sub))
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/androguard/core/mutf8.py", line 64, in encode
ord_array = [i for i in map(lambda x: ord(x), s)]
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/androguard/core/mutf8.py", line 64, in
ord_array = [i for i in map(lambda x: ord(x), s)]
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/androguard/core/mutf8.py", line 64, in
ord_array = [i for i in map(lambda x: ord(x), s)]
RecursionError: maximum recursion depth exceeded while calling a Python object