ev-flow / ev-flow/quark-rules

Graph失败

Open
#7 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
33
Forks
15
Avg merge
1d 7h
Merged PRs (30d)
3

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.