diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/basedetection.py | 2 | ||||
| -rw-r--r-- | python/examples/raw_binary_base_detection.py | 2 |
2 files changed, 2 insertions, 2 deletions
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, diff --git a/python/examples/raw_binary_base_detection.py b/python/examples/raw_binary_base_detection.py index 76268fbe..b584903c 100644 --- a/python/examples/raw_binary_base_detection.py +++ b/python/examples/raw_binary_base_detection.py @@ -47,7 +47,7 @@ def _parse_args() -> argparse.Namespace: parser.add_argument("path", help="path to the position-dependent raw firmware binary or directory") parser.add_argument("--debug", action="store_true", help="enable debug logging") parser.add_argument("--reasons", action="store_true", help="show reasons for base address selection") - parser.add_argument("--analysis", type=str, help="analysis level", default="basic") + parser.add_argument("--analysis", type=str, help="analysis level", default="full") parser.add_argument("--arch", type=str, default="", help="architecture of the binary") return parser.parse_args() |
