diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-02-27 05:41:16 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-02-27 05:41:16 +0100 |
| commit | 92e86a036219d31c56d12ba41adab51d62a26ecc (patch) | |
| tree | c15a638ca24b0999677c4f17f977e3b542b58a98 /src/kernel/KernelKit/ILoader.h | |
| parent | 4f65115434ca019d6a8c1b31fd360fffb36863f6 (diff) | |
chore: kernel, boot: updated sources copyright year and improve stability.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/kernel/KernelKit/ILoader.h')
| -rw-r--r-- | src/kernel/KernelKit/ILoader.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kernel/KernelKit/ILoader.h b/src/kernel/KernelKit/ILoader.h index 1cc0742d..a98046b5 100644 --- a/src/kernel/KernelKit/ILoader.h +++ b/src/kernel/KernelKit/ILoader.h @@ -1,4 +1,4 @@ -// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org) +// Copyright 2024-2026, Amlal El Mahrouss (amlal@nekernel.org) // Licensed under the Apache License, Version 2.0 (see LICENSE file) // Official repository: https://github.com/nekernel-org/nekernel @@ -14,7 +14,7 @@ namespace Kernel { -/// @brief This interface is used to make loader contracts (MSCOFF, PEF). +/// @brief The ILoader interface is used to make dynamic loader contracts (such as: MSCOFF, PEF). /// @author Amlal El Mahrouss class ILoader { public: @@ -25,9 +25,9 @@ class ILoader { public: virtual _Output ErrorOr<VoidPtr> GetBlob() { return ErrorOr<VoidPtr>{}; } - virtual _Output const Char* AsString() { return ""; } - virtual _Output const Char* MIME() { return ""; } - virtual _Output const Char* Path() { return ""; } + virtual _Output const Char* AsString() { return "(null)"; } + virtual _Output const Char* MIME() { return "*/*"; } + virtual _Output const Char* Path() { return "(null)"; } virtual _Output ErrorOr<VoidPtr> FindStart() { return ErrorOr<VoidPtr>{}; } virtual _Output ErrorOr<VoidPtr> FindSymbol(_Input const Char*, _Input Int32) { return ErrorOr<VoidPtr>{}; |
