1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-08-26 14:06:31 -05:00

core: Track load offsets of NSO modules

Needed for backtrace decomposition
This commit is contained in:
Zach Hilman
2019-05-17 21:41:33 -04:00
parent e86d2e2e5b
commit 2179ad7483
3 changed files with 18 additions and 0 deletions

View File

@@ -164,6 +164,9 @@ std::optional<VAddr> AppLoader_NSO::LoadModule(Kernel::Process& process,
// Register module with GDBStub
GDBStub::RegisterModule(file.GetName(), load_base, load_base);
// Register module for ARMInterface with System
Core::System::GetInstance().RegisterNSOModule(file.GetName(), load_base);
return load_base + image_size;
}