mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
Fix symbol retrieval logic in injected kext, still needs dysymtab correction
This commit is contained in:
parent
43ecade607
commit
fc6fbed67c
@ -105,8 +105,17 @@ struct PRELINKED_KEXT_ {
|
||||
// Sorted symbol table used only for dependencies.
|
||||
//
|
||||
PRELINKED_KEXT_SYMBOL *LinkedSymbolTable;
|
||||
//
|
||||
// A flag set during dependency walk BFS to avoid going through the same path.
|
||||
//
|
||||
BOOLEAN Processed;
|
||||
//
|
||||
// Number of vtables in this kext.
|
||||
//
|
||||
UINT32 NumberOfVtables;
|
||||
//
|
||||
// Scanned vtable buffer. Iterated with GET_NEXT_PRELINKED_VTABLE.
|
||||
//
|
||||
PRELINKED_VTABLE *LinkedVtables;
|
||||
};
|
||||
|
||||
|
||||
@ -764,5 +764,9 @@ InternalLinkPrelinkedKext (
|
||||
|
||||
*AlignedLoadSize = RealLoadSize;
|
||||
|
||||
Kext->SymbolTable = NULL;
|
||||
Kext->StringTable = NULL;
|
||||
Kext->NumberOfSymbols = 0;
|
||||
|
||||
return Kext;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user