Track export data on kernel trampolines as well.

This commit is contained in:
Dr. Chat 2015-11-28 15:21:55 -06:00 committed by Ben Vanik
parent b8d4f26e46
commit 4a13316daa
1 changed files with 2 additions and 1 deletions

View File

@ -105,7 +105,8 @@ uint32_t KernelModule::GetProcAddressByOrdinal(uint16_t ordinal) {
handler =
(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);