Download-Fritz
27e0783af3
OcAppleKernelLib: Lookup prelinked VTables via Prelinked Symbol Table.
2019-03-27 13:52:09 +01:00
Download-Fritz
ad5d46f9af
AppleOcKernelLib: Do not index STAB symbols when scanning prelinked KEXTs.
2019-03-27 13:08:56 +01:00
vit9696
b760f92fdb
AppleKernelLib: Fix x86_64 OSBundleLibraries parsing and increase dependency limit
2019-03-26 22:13:20 +03:00
Download-Fritz
93fe656deb
OcAppleKernelLib: OSBundleLibraries are optional.
2019-03-26 19:10:15 +01:00
Download-Fritz
181c393670
OcAppleKernelLib: Make prelinked VTable generation safer.
2019-03-26 12:19:43 +01:00
Download-Fritz
a455f1ebd3
OcAppleKernelLib: Store the Name pointer instead of StringIndex for prelinked symbols.
2019-03-25 19:11:22 +01:00
Download-Fritz
f534cf5874
OcAppleKernelLib: Fix VTable bounds checks.
...
* Only iterate Parent VTables within its bounds.
* Verify Child VTable size early as due to the parent's bounds, the next iteration step might not be reached.
* Do not verify MaxSize on retrieval when the VTableData is passed to a VTable function that checks it on its own.
2019-03-25 07:34:04 +01:00
vit9696
bc0af1edee
OcAppleKernelLib: Optimize hot path on vtable lookup
2019-03-24 17:32:58 +03:00
Download-Fritz
896610d256
OcAppleKernelLib: Rework dependency symbol location.
2019-03-24 13:17:59 +01:00
vit9696
e169a7aa7e
Ensure 1:1 disk:vm mach-o matching requirement during kext inject
2019-03-24 01:50:57 +03:00
Download-Fritz
a9c1f22db3
OcMachoLib: Optionally return MaxSize parameter for GetFileOffset.
...
OcAppleKernelLib: Adapt calls for security.
2019-03-23 17:36:40 +01:00
vit9696
fc6fbed67c
Fix symbol retrieval logic in injected kext, still needs dysymtab correction
2019-03-23 15:05:13 +03:00
vit9696
e063fb9578
Fix kext size calculation during kernel injection
2019-03-23 15:05:13 +03:00
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