20 Commits

Author SHA1 Message Date
Download-Fritz
3f2d5aeda0 OcAppleKernelLib: Discard undefined and resolve indirect symbols of KPIs. 2019-03-23 15:05:12 +03:00
Download-Fritz
be49076782 OcAppleKernelLib: Always add the kernel as a dependency 2019-03-23 15:05:12 +03:00
Download-Fritz
75d81cce1a OcAppleKernelLib: Bounds-check VTable data. 2019-03-23 15:05:12 +03:00
vit9696
46eabae39f Link kexts against kernel and KPIs due to indirect symbols 2019-03-23 15:05:12 +03:00
Download-Fritz
160ca68cdc OcAppleKernelLib: Fix VTable count 2019-03-23 15:05:12 +03:00
vit9696
978714ae1d Link with the kernel directly for speed reasons
Otherwise we would need to solve KPI symbols first.
2019-03-23 15:05:12 +03:00
vit9696
6b11c5675c Partially fix logic in vtable parsing 2019-03-23 15:05:12 +03:00
vit9696
014ef59b45 Also fix vtable iteration 2019-03-23 15:05:12 +03:00
vit9696
69024af3bd Fix dependency handling logic 2019-03-23 15:05:12 +03:00
Download-Fritz
253d0b6284 OcAppleKernelLib: Implement VTable logic. 2019-03-23 15:05:12 +03:00
Download-Fritz
d92c167a0f OcAppleKernelLib: Move LinkBuffer allocation to the dependency walk 2019-03-23 15:05:12 +03:00
Download-Fritz
0bf7b5ce98 OcAppleKernelLib: Compilation fixes 2019-03-23 15:05:12 +03:00
Download-Fritz
f331523dda OcAppleKernelLib: Small security enhancements and warn instead of ASSERT more often 2019-03-23 15:05:12 +03:00
vit9696
868c064fb1 Get symbol location work 2019-03-23 15:05:12 +03:00
vit9696
9be9d50677 Implement support for linking on injected kext and fix minor issues 2019-03-23 15:05:12 +03:00
Download-Fritz
6ed3156eea Import prelinker trash 2019-03-23 15:05:12 +03:00
vit9696
30fb879941 Add internal symbol table stubs 2019-03-20 16:07:18 +03:00
vit9696
bec5a5457f Do recursive dependency solving for PRELINKED_KEXT 2019-03-20 15:30:32 +03:00
vit9696
6606886762 Add __LINKEDIT detection to scanning 2019-03-20 15:04:33 +03:00
vit9696
5f114618f1 Continue refactoring kext dependency management 2019-03-20 02:48:11 +03:00