first commit

This commit is contained in:
Jean-Marie Mineau 2023-11-15 15:59:13 +01:00
commit cd1e91bb99
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2
287 changed files with 86425 additions and 0 deletions

View file

@ -0,0 +1,24 @@
from .abstract_tester import abstract_tester
import utils
import error_collector as errors
import datetime
from typing import Type
from pathlib import Path
class droidsafe_tester(abstract_tester):
EXPECTED_ERROR_TYPES: list = [
errors.JavaError,
errors.NoPrefixJavaError,
errors.DroidsafeLog4jError,
]
TOOL_NAME = "droidsafe"
def __init__(self):
super().__init__()
@classmethod
def check_success(cls, path: Path, apk_filename: str):
return (path / "droidsafe-gen" / "info-flow-results.txt").exists() and (
path / "droidsafe-gen" / "template-spec.ssl"
).exists()