From af616a407627d87a787ae78cc36c58ac4ed3ccad Mon Sep 17 00:00:00 2001 From: hachem Date: Fri, 28 Aug 2026 15:54:34 +0200 Subject: add: process execution --- src/debugger/types.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/debugger/types.h') diff --git a/src/debugger/types.h b/src/debugger/types.h index 193a1cc..0023694 100644 --- a/src/debugger/types.h +++ b/src/debugger/types.h @@ -72,7 +72,9 @@ namespace Hsdbg std::filesystem::path working_directory; std::vector arguments; std::vector environment; - bool stop_at_entry = true; + + // running should reach the first breakpoint, not the loader's entry point + bool stop_at_entry = false; }; struct Breakpoint @@ -87,6 +89,10 @@ namespace Hsdbg uint32_t hit_count = 0; bool enabled = true; bool resolved = false; + + // set by name, so file and line are whatever lldb found rather than + // what was asked for + bool by_function = false; }; struct StackFrame -- cgit v1.3