summaryrefslogtreecommitdiffhomepage
path: root/dev
AgeCommit message (Collapse)Author
2025-05-29fix: Ref.h: Don't delete NULL pointer.0.0.2e3Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-28refactor: Refactor toolchain source code.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
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-27feat: utils: Replace signal name with SIGNAL: prefix.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-27fix: fix SEGFAULT on CxxDrv (AMD64), caused by a stack corruption.Amlal El Mahrouss
refactor: Refactor LibCompiler's codebase, deperecate older C compilers, and fully focusing on C++ now. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-27feat!: better crash reporting.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-24refactor(cxxdrv): cleanup driver code.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-23bug: figuring out why a segfault occurs after we exit main.Amlal El Mahrouss
ubsan: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/vector:926:60: runtime error: applying non-zero offset 18446744073709551536 to null pointer SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/vector:926:60 in drv: SIGSEGV: Please report this on the GitHub issues page why? - A bogus iterator gets passed to ::destroy inside the method. next: - Debug that inside lldb. 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-22refactor: Reworking the code base, for the C++Drv, and ARM64 assembler.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-22feat(LibCompiler): Validating ::Compile.Amlal El Mahrouss
what? - The C++DRV crashes because of a bogus vector, after ::Compile gets called. - I have to figure out where the vector gets corrupted. 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-21feat(cxxdrv): Compile directly when file extension matches.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-21feat(cxxdrv): Remove duplicate header 'Dialogs.h'Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-20feat(cxxdrv): Improving and patching C++'s driver segfault at exit.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-20feat(cxxdrv): fix multi line comment keywords.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-18cxxdrv: bugfix: Fix bad refactor of 'bool*/bool' type.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-17feat(codegen/amd64): new opcode support: xor, and syscall.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-17feat(ld): Important linker refactors, for a better code.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-17feat(ld64): Improve codebase, removed redundant variable ae_header.Amlal El Mahrouss
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-05-12fix(cxxdrv): The Compiler driver shall take multiple files, instead of0.0.1e2Amlal El Mahrouss
one. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-11feat(cxxdrv): Begin addressing stack corruption issue causing segmentation faultAmlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-09dev(cxxdrv): figured out where the segfault comes from, probably the call to ↵Amlal
Compile who causes the issue. Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-07feat(LibCompiler): Reworking architecture to integrate the Arch() method in ↵Amlal
the AssemblyInterface. Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-04feat(cxxdrv): small optimizations regarding variable and useless logging.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-04feat(64x0): update flag prefix for 64x0 assembler.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-04bug(cxxdrv): isolating segfault on cxxdrv.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-04bug(LibCompiler/C++): Segfault raised when compiling C++ source.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-01dev, LibCompiler: format codebase.0.0.1Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-01ld64: Make linker more robust, and extend PEF to version 4.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-27dev: format codebase.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-26dev, cxxdrv: add sigsegv handler.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-26dev: codebase has been improved in terms of cli and consistency.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-25dev: stabilizing source code towards an 0.0.1 release.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-25dev, general: codebase needed refactors and tweaks, for NeKernel's 0.0.2 ↵Amlal
release. details: - things needed to be cleared off, short sighted decisions fixed. - the inconsistency of certain files have been fixed too. Signed-off-by: Amlal <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-04-16cc, LibCompiler: source code refactor and tweaks.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-04-16dev, cxxdrv: bump.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-04-14ld64: fix memory leak in AE record allocationAmlal El Mahrouss
Corrected allocation/deallocation of raw_ae_records when reading AE headers. This prevents memory leaks and ensures consistent cleanup before further processing. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-04-14cxxdrv: Add whitespace cleanup and initial support for class/struct parsingAmlal El Mahrouss
2025-04-12LibCompiler, C++: use 'jmp' when returning from a function.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>