mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
scan_binary: Log matched class
This commit is contained in:
parent
ffdd038cfa
commit
f8452c4f0c
1 changed files with 1 additions and 2 deletions
|
|
@ -198,6 +198,7 @@ def scan_binary(apkfile, extract_signatures=None):
|
||||||
def _detect_tracker(sig, tracker, class_list):
|
def _detect_tracker(sig, tracker, class_list):
|
||||||
for clazz in class_list:
|
for clazz in class_list:
|
||||||
if sig.search(clazz):
|
if sig.search(clazz):
|
||||||
|
logging.debug("Found tracker, class {} matching {}".format(clazz, tracker.code_signature))
|
||||||
return tracker
|
return tracker
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
@ -211,8 +212,6 @@ def scan_binary(apkfile, extract_signatures=None):
|
||||||
results.append(res)
|
results.append(res)
|
||||||
|
|
||||||
trackers = [t for t in results if t is not None]
|
trackers = [t for t in results if t is not None]
|
||||||
for tracker in trackers:
|
|
||||||
logging.debug("Found tracker {}".format(tracker.code_signature))
|
|
||||||
problems += len(trackers)
|
problems += len(trackers)
|
||||||
|
|
||||||
if problems:
|
if problems:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue