Skip to content

Graph失败 #7

@qhxb

Description

@qhxb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions