summaryrefslogtreecommitdiffhomepage
path: root/dev/LibCompiler
AgeCommit message (Collapse)Author
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-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>
2025-04-03cc/pef: exec format refactors.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-03-31meta/repository: fix capitalization on my name 'El' instead of 'EL'.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-03-28libcompiler: update copyright years to 2024–2025Amlal El Mahrouss
Update all source headers in LibCompiler and tools to reflect the correct copyright span for ongoing development. Affects headers and source files across: - AAL CPU backends (amd64, arm64, 64x0, 32x0) - Assembler and linker backends (PEF, XCOFF) - Parser, macros, defines, utils - Tools: asm, dbg, ld64, necc No functional changes made. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-03-26meta: fix and update readmes.Amlal El Mahrouss
2025-03-25fix(linker): A critical fix regarding the output being repetadelyAmlal El Mahrouss
written on the file. refactor(NFC): Rename String.h to StringView.h 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(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-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-03-02Minor tweaks on Power64 C compiler.Amlal El Mahrouss
2025-03-01META: Tweak linkers.Amlal El Mahrouss
2025-03-01LCRT: Update symbol of __libcompiler_unreachable and implement it.Amlal El Mahrouss
2025-02-28ADD: Add __cplusplus macro to preprocessor.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-02-20DynamicLinkerPEF.cc: Update according to specs.Amlal
Signed-off-by: Amlal <amlal.elmahrouss@icloud.com>
2025-02-14ADD: New specs update.Amlal
FIX: Fix library name in necc. Signed-off-by: Amlal <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-02-08ADD: Assembler frontend tweaks and other refactors.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-02-08ADD: Moved Debugger into LibCompiler.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-02-08ADD: Patch command parse on linker, and use Boolean type in C++ compilerAmlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-02-07ADD: tweaks.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-02-07ADD: Tiny refactors.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-02-04ADD: Minor tweaks.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-02-03META: Tweaks.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-02-03Final tweaks.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-02-03TWEAK: Rename TK_ to LC_Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-02-01ADD: Tweak C++ AMD64 compiler to remove \r endings, to ensure assemblerAmlal El Mahrouss
understands the assembly correctly. 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-27ADD: `dbg` C++ debugger program.Amlal
META: Ran format command with correct C++ extensions. Signed-off-by: Amlal <amlal.elmahrouss@icloud.com>