From befde76cfa46c766e81f74eb5ac65d3dae2dde87 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 19 Apr 2025 17:33:26 +0200 Subject: dev, LibCompiler, tooling: refactor and separate components into modules (cppdrv, cxxdrv) Signed-off-by: Amlal El Mahrouss --- dev/LibDebugger/DebuggerContract.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'dev/LibDebugger/DebuggerContract.h') diff --git a/dev/LibDebugger/DebuggerContract.h b/dev/LibDebugger/DebuggerContract.h index 5d4f728..540ad08 100644 --- a/dev/LibDebugger/DebuggerContract.h +++ b/dev/LibDebugger/DebuggerContract.h @@ -9,8 +9,8 @@ namespace LibDebugger { - typedef uint64_t ProcessID; - typedef char* CAddress; + typedef uint64_t ProcessID; + typedef char* CAddress; /// \brief Debugger contract class in C++, as per the design states. /// \author Amlal El Mahrouss @@ -18,7 +18,7 @@ namespace LibDebugger { public: explicit DebuggerContract() = default; - virtual ~DebuggerContract() = default; + virtual ~DebuggerContract() = default; public: DebuggerContract& operator=(const DebuggerContract&) = default; @@ -26,9 +26,9 @@ namespace LibDebugger public: virtual bool Attach(ProcessID pid) noexcept = 0; - virtual bool Break(CAddress addr) noexcept = 0; - virtual bool Continue() noexcept = 0; - virtual bool Detach() noexcept = 0; + virtual bool Break(CAddress addr) noexcept = 0; + virtual bool Continue() noexcept = 0; + virtual bool Detach() noexcept = 0; virtual std::unordered_map& Get() { @@ -39,4 +39,4 @@ namespace LibDebugger pid_t m_pid; std::unordered_map m_breakpoints; }; -} // namespace LibDebugger::POSIX +} // namespace LibDebugger -- cgit v1.2.3