diff options
| author | hachem <im@hachem.wtf> | 2025-12-21 07:04:49 +0100 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2025-12-21 07:04:49 +0100 |
| commit | 75c96946c9ad945fadede7d16130966f601ccaa7 (patch) | |
| tree | 33573a9996e36d009a64d337b63b6a73b30a46ba /src/debugger/debugger.h | |
| parent | d660dc5748656e7ddc7b3343c96d9a7bdaadd502 (diff) | |
refactor: slight cleanup
Diffstat (limited to 'src/debugger/debugger.h')
| -rw-r--r-- | src/debugger/debugger.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debugger/debugger.h b/src/debugger/debugger.h index 16bfb6b..d487712 100644 --- a/src/debugger/debugger.h +++ b/src/debugger/debugger.h @@ -34,7 +34,7 @@ namespace Hsdbg auto load_target(const std::filesystem::path& executable) -> Result<void>; auto unload_target() -> void; auto launch(const LaunchSpec& spec) -> Result<void>; - auto attach(uint64_t process_id) -> Result<void>; + auto attach(uint64_t pid) -> Result<void>; auto detach() -> Result<void>; auto terminate() -> Result<void>; @@ -108,7 +108,7 @@ namespace Hsdbg private: struct Session; - auto set_state(TargetState state) -> void; + auto set_state(TargetState next_state) -> void; auto resolve_breakpoint(Breakpoint& breakpoint) -> void; auto sync_breakpoints() -> void; |
