diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-27 19:38:51 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-27 19:42:30 +0100 |
| commit | c6c908167e37e0f82e272f6f9fd6462c0dd4502c (patch) | |
| tree | cb5b6337cc413da9c95e9aa0406ed023b6ce9614 /Private/Source/CodeManager.cxx | |
| parent | 2f7c48ef9172ba48fa177600a12ab0d51cb9e566 (diff) | |
Kernel: Last refactor of the kernel.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/Source/CodeManager.cxx')
| -rw-r--r-- | Private/Source/CodeManager.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Private/Source/CodeManager.cxx b/Private/Source/CodeManager.cxx index ba117346..1928683b 100644 --- a/Private/Source/CodeManager.cxx +++ b/Private/Source/CodeManager.cxx @@ -115,14 +115,14 @@ namespace hCore if (auto sym = this->FindSymbol("__start", kPefCode); sym) return ErrorOr<VoidPtr>(sym); - return ErrorOr<VoidPtr>(ME_EXEC_ERROR); + return ErrorOr<VoidPtr>(H_EXEC_ERROR); } bool PEFLoader::IsLoaded() noexcept { return !fBad && fCachedBlob; } namespace Utils { - bool execute_from_image(PEFLoader& exec) + bool execute_from_image(PEFLoader& exec) noexcept { auto errOrStart = exec.LoadStart(); |
