Track export data on kernel trampolines as well.
This commit is contained in:
parent
b8d4f26e46
commit
4a13316daa
|
@ -105,7 +105,8 @@ uint32_t KernelModule::GetProcAddressByOrdinal(uint16_t ordinal) {
|
||||||
handler =
|
handler =
|
||||||
(cpu::GuestFunction::ExternHandler)export_entry->function_data.shim;
|
(cpu::GuestFunction::ExternHandler)export_entry->function_data.shim;
|
||||||
}
|
}
|
||||||
static_cast<cpu::GuestFunction*>(function)->SetupExtern(handler);
|
static_cast<cpu::GuestFunction*>(function)
|
||||||
|
->SetupExtern(handler, export_entry);
|
||||||
|
|
||||||
function->set_status(cpu::Symbol::Status::kDeclared);
|
function->set_status(cpu::Symbol::Status::kDeclared);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue