mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcAppleKernelLib: Skip STABs during prelinked KEXT VTable enum.
This commit is contained in:
parent
5d1901ac52
commit
146faf684d
@ -242,6 +242,10 @@ InternalPrepareCreateVtablesPrelinked64 (
|
||||
|
||||
for (Index = 0; Index < NumSymbols; ++Index) {
|
||||
Symbol = &SymbolTable[Index];
|
||||
if (((Symbol->Type) & MACH_N_TYPE_STAB) != 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Name = MachoGetSymbolName64 (MachoContext, Symbol);
|
||||
if (MachoSymbolNameIsVtable64 (Name)) {
|
||||
if (VtableIndex >= MaxSize) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user