From 9f031e69aace747feb5bac78eccb9a1d5df81f74 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Wed, 14 May 2025 17:49:19 +0200 Subject: feat(cc): Rename Parser.h to CompilerFrontend.h, refactor codebase accordingly. why: - To make its intent clearer, and avoid future confusions. also: - Ran ./format.sh to the codebase. Signed-off-by: Amlal El Mahrouss --- dev/LibDebugger/src/NeKernelContractCLI.cc | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'dev/LibDebugger/src/NeKernelContractCLI.cc') diff --git a/dev/LibDebugger/src/NeKernelContractCLI.cc b/dev/LibDebugger/src/NeKernelContractCLI.cc index 1f05ff2..dddefda 100644 --- a/dev/LibDebugger/src/NeKernelContractCLI.cc +++ b/dev/LibDebugger/src/NeKernelContractCLI.cc @@ -20,16 +20,15 @@ using namespace LibDebugger::NeKernel; LIBCOMPILER_MODULE(DebuggerNeKernel) { - pfd::notify("Debugger Event", - "Kernel Debugger\n(C) 2025 Amlal El Mahrouss, all rights reserved."); - - if (argc >= 3 && std::string(argv[1]) == "-p" && argv[2] != nullptr) { - kPath = argv[2]; - kStdOut << "[+] Kernel image set to: " << kPath << "\n"; - } - - - return EXIT_SUCCESS; + pfd::notify("Debugger Event", + "Kernel Debugger\n(C) 2025 Amlal El Mahrouss, all rights reserved."); + + if (argc >= 3 && std::string(argv[1]) == "-p" && argv[2] != nullptr) { + kPath = argv[2]; + kStdOut << "[+] Kernel image set to: " << kPath << "\n"; + } + + return EXIT_SUCCESS; } -#endif // LD_NEKERNEL_DEBUGGER \ No newline at end of file +#endif // LD_NEKERNEL_DEBUGGER \ No newline at end of file -- cgit v1.2.3