From 92a468d7566de31e6867a77c5cf1c64e33792109 Mon Sep 17 00:00:00 2001 From: Brandon Miller Date: Fri, 3 May 2024 08:26:35 -0400 Subject: Fixed typing bug in base detection API Also updated example script to use full analysis by default --- python/basedetection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/basedetection.py') diff --git a/python/basedetection.py b/python/basedetection.py index 655f017b..f3cc3eb9 100644 --- a/python/basedetection.py +++ b/python/basedetection.py @@ -161,7 +161,7 @@ class BaseAddressDetection: def detect_base_address( self, arch: Optional[str] = "", - analysis: Optional[str] = Literal["basic", "controlFlow", "full"], + analysis: Optional[Literal["basic", "controlFlow", "full"]] = "full", min_strlen: Optional[int] = 10, alignment: Optional[int] = 1024, low_boundary: Optional[int] = 0, -- cgit v1.3.1