summaryrefslogtreecommitdiffhomepage
path: root/dev/LibDebugger
AgeCommit message (Collapse)Author
2025-05-28feat!: update the kernel codegen to output bit width and origin.Amlal El Mahrouss
refactor!: refactor codebase, breaking changes. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-23feat!(LibCompiler): Codebase and diagram has been improved.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-22feat(LibCompiler): Update AssemblyInterface's Arch method.Amlal El Mahrouss
also: - Figured out the segfault, currently working on a patch. - Better CLI output, with each library having it's prefix. - LibCompiler: `drv` - LibDebugger: `dbg` Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-14feat(cc): Rename Parser.h to CompilerFrontend.h, refactor codebaseAmlal El Mahrouss
accordingly. why: - To make its intent clearer, and avoid future confusions. also: - Ran ./format.sh to the codebase. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-14dev(kdbg): Working on NeKernel Debugger.Amlal El Mahrouss
how: - Load vmkrnl.efi. - Keep track of IP, Stack, and debugging information related to the kernel. - Make use of breakpoints and provide lldb grade experience. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-14feat(kdbg): add m_socket field, to hold its file descriptor.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-13feat(LibDebugger): expand KDBG's protocol, by reworking the packetAmlal El Mahrouss
structure. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-04-25meta: update .clang-format, format codebase.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-25dev, LibDebugger: add kdbg, working on NeKernelContract's implementation.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-24dev, dbg: improvements on the debugger's symbol fetching.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-04-24dev, LibDebugger/Mach: return true, don't branch out to false (bugfix)Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-04-24dev, dbg: Improve POSIXMachContract, but it still has some rough edgesAmlal El Mahrouss
on breakpoints. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-04-19dev, LibCompiler, tooling: refactor and separate components into modulesAmlal El Mahrouss
(cppdrv, cxxdrv) Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-03-26feat(dbg): made it work on OS X, using mach API.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-03-26feat(debugger): Better design for LibDebugger, and a patch for the POSIXAmlal El Mahrouss
CLI. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-03-23feat(dbg): Avoid breakpoint when kPID is not set (kPID = 0)Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-03-23feat(libcompiler): Move Dialogs.h in /dev/Vendor.Amlal El Mahrouss
2025-03-23feat(debugger): Add specs for dbg/LibDebugger, overall codeAmlal El Mahrouss
improvements. vendor(debugger): Add pfd for LibDebugger, to retrieve file to parse or notify events. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-03-23debugger(posix): Refactor LibDebugger POSIX engine: rename, namespace ↵Amlal El Mahrouss
update, API cleanup - Renamed `IDebuggerEngine.h` → `POSIX.h` and `DebuggerEnginePOSIX.cc` → `POSIX.cc` - Moved `IDebuggerEngine` class into `LibDebugger::POSIX` namespace and renamed it to `Debugger` - Simplified method names: - `SetBreakpoint` → `Break` - `ContinueExecution` → `Continue` - Replaced generic return codes with `EXIT_SUCCESS` / `EXIT_FAILURE` - Updated includes and symbol usage to reflect changes across the codebase Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-03-08ADD: Better if conditions in DynamicLinkerPEF.ccAmlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-03-04ADD: C++ compiler improvements.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-02-09ADD: Add LibDebugger as a separate dylib, fix depreciation warning forAmlal El Mahrouss
ptrace. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-01-31ADD: port debugger to Mac OS X.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-01-28META: Ran format command.Amlal
Signed-off-by: Amlal <amlal.elmahrouss@icloud.com>
2025-01-28FIX: Don't exit program when errno is set.Amlal
Signed-off-by: Amlal <amlal.elmahrouss@icloud.com>
2025-01-27ADD: LibDebugger C++ library and improved `dbg` tool.Amlal
ADD: New manual files `dbg` and `ld64` Signed-off-by: Amlal <amlal.elmahrouss@icloud.com>