mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
add test case for _exodus_compile_signatures
This commit is contained in:
parent
94c9f0bef9
commit
a1677b5cb0
2 changed files with 27 additions and 3 deletions
|
|
@ -144,7 +144,7 @@ def get_embedded_classes(apkfile, depth=0):
|
|||
|
||||
|
||||
# taken from exodus_core
|
||||
def _compile_signatures(signatures):
|
||||
def _exodus_compile_signatures(signatures):
|
||||
"""
|
||||
Compiles the regex associated to each signature, in order to speed up the trackers detection.
|
||||
|
||||
|
|
@ -178,7 +178,7 @@ def load_trackers_signatures():
|
|||
)
|
||||
)
|
||||
logging.debug('{} trackers signatures loaded'.format(len(signatures)))
|
||||
return signatures, _compile_signatures(signatures)
|
||||
return signatures, _exodus_compile_signatures(signatures)
|
||||
|
||||
|
||||
def scan_binary(apkfile, extract_signatures=None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue