diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-22 09:59:41 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-22 09:59:41 +0100 |
| commit | b5adf16a96b9cbb80c74cf30404ed5bcff03ac34 (patch) | |
| tree | e1be4c79f2c7e878d162c23d5c0518c350b00724 /dev/DebuggerKit/DebuggerContract.h | |
| parent | b8e6e1492ed14e270b1061809b0569b8d2f4c0ec (diff) | |
chore: DebuggerKit cleanup.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/DebuggerKit/DebuggerContract.h')
| -rw-r--r-- | dev/DebuggerKit/DebuggerContract.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/dev/DebuggerKit/DebuggerContract.h b/dev/DebuggerKit/DebuggerContract.h index d1c8ed1..2114041 100644 --- a/dev/DebuggerKit/DebuggerContract.h +++ b/dev/DebuggerKit/DebuggerContract.h @@ -1,12 +1,12 @@ -/*** - (C) 2025 Amlal El Mahrouss - */ +/* ======================================== + + Copyright (C) 2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license. + +======================================== */ #pragma once -#include <cstdint> -#include <string> -#include <unordered_map> +#include <DebuggerKit/Platform.h> #define DK_DEBUGGER_CONTRACT : public ::DebuggerKit::DebuggerContract @@ -46,7 +46,7 @@ class DebuggerContract { virtual std::unordered_map<uintptr_t, uintptr_t>& Get() { return m_breakpoints; } protected: - ProcessID m_pid; + ProcessID m_pid{(ProcessID)~0}; std::unordered_map<uintptr_t, uintptr_t> m_breakpoints; }; } // namespace DebuggerKit |
