Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi, there were some errors when running the command line “LibID.py detect -ad profiles/app -ld profiles/lib” #1

Open
yqueenty opened this issue Apr 24, 2020 · 0 comments

Comments

@yqueenty
Copy link

Thrid-party Android libraries profile and Android apps profile have been generated successfully.
But there were some errors when running the command line “LibID.py detect -ad profiles/app -ld profiles/lib”
I:\obfuscated\DexProtector\LibID-master>LibID.py detect -ad profiles/app -ld profiles/lib
[INFO] 2020-04-24 17:43:04,042 - profiler [parallel_load_libs_profile:157] - Loading 1 library profiles ...
[INFO] 2020-04-24 17:43:06,522 - analyzer [init:44] - Start loading acra-4.6.2.json ...
[INFO] 2020-04-24 17:43:06,526 - analyzer [init:46] - acra-4.6.2.json loaded
[INFO] 2020-04-24 17:43:06,678 - profiler [parallel_load_libs_profile:172] - Library profiles loaded. Duration: 2.635000s
[INFO] 2020-04-24 17:43:06,680 - LibID [load_LSH:82] - Start indexing LSH (this could take a while) ...
[INFO] 2020-04-24 17:43:06,809 - LibID [load_LSH:88] - LSH indexed. Duration: 0.128000s
[INFO] 2020-04-24 17:43:09,344 - analyzer [init:44] - Start loading 1.json ...
[INFO] 2020-04-24 17:43:09,378 - analyzer [init:46] - 1.json loaded
[INFO] 2020-04-24 17:43:09,391 - analyzer [_get_raw_classes_matches:443] - Start matching classes ...
0%| | 0/355 [00:00<?, ?it/s]m.update(signature.encode

[ERROR] 2020-04-24 17:43:09,401 - LibID [_search_libs_in_app:208] - profiles/app\1.json failed
Traceback (most recent call last):
File "I:\obfuscated\DexProtector\LibID-master\LibID.py", line 204, in _search_libs_in_app
exclude_builtin=exclude_builtin)
File "I:\obfuscated\DexProtector\LibID-master\module\analyzer.py", line 893, in get_libraries
self._get_raw_classes_matches(lsh, exclude_builtin)
File "I:\obfuscated\DexProtector\LibID-master\module\analyzer.py", line 450, in _get_raw_classes_matches
matches = self._get_raw_class_matches(class_name, lsh)
File "I:\obfuscated\DexProtector\LibID-master\module\analyzer.py", line 435, in _get_raw_class_matches
matches = lsh.query(self, m, len(class_signatures))
AttributeError: 'NoneType' object has no attribute 'query'
[INFO] 2020-04-24 17:43:09,404 - LibID [search_libs_in_apps:282] - Finished. Numer of apps: 1, date: Fri Apr 24 17:43:09 2020, duration: 16.215000s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant