Download-Fritz
dbf90dbd2a
OcAppleKernelLib: Treat scattered relocs as normal ones, as done in KXLD. Check relocation skipability earlier.
2019-03-23 15:05:12 +03:00
Download-Fritz
5d434aded5
OcAppleKernelLib: Fix prelinking finalization.
2019-03-23 15:05:12 +03:00
Download-Fritz
160ca68cdc
OcAppleKernelLib: Fix VTable count
2019-03-23 15:05:12 +03:00
vit9696
4db96a0161
Set and initialiase number of entries in a vtable
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
72797bbc9c
Implement ugly hack to prelinked hex value printing
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
46ff4d4c40
OcAppleKernelLib: Fix ASSERT from last commit
2019-03-23 15:05:12 +03:00
Download-Fritz
402ad92363
OcAppleKernelLib: Fix InternalPrepareCreateVtablesPrelinked64
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
bc3dcc55db
OcAppleKernelLib: Fix symbol location recursion
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
Download-Fritz
3cec6117ec
Do not error when failing to find a resolution symbol
2019-03-23 15:05:12 +03:00
Download-Fritz
4da6a13edd
Patch VTables before symbol resolution
2019-03-23 15:05:12 +03:00
vit9696
6ff5a4dfc3
Remove invalid assertions
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
Michael Belyaev
eda77537cc
Added lost file
2019-03-22 15:08:43 +03:00
Michael Belyaev
43cffc0a49
Move patches into CommonPatches.c
2019-03-22 14:18:32 +03:00
Michael Belyaev
d59b78fad4
Add AppleIntelCPUPowerManagement patches
2019-03-21 20:03:59 +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
vit9696
dcbb94fa5c
Cache discovered kexts and implement PRELINKED_KEXT structure
2019-03-20 00:54:51 +03:00
vit9696
59f86290b6
Add missing Mach-O dependencies
2019-03-19 23:16:17 +03:00
vit9696
cba5bac94a
Start importing prelinker
2019-03-19 22:31:15 +03:00
vit9696
a9b3b67c63
Implement load and kmod address calculation in kext inject
2019-03-19 21:34:15 +03:00
Download-Fritz
6b2186abaf
OcAppleKernelLib and OcDataHubLib: Security enhancements
2019-03-18 19:58:16 +01:00
Download-Fritz
18314c7182
Fix several compilation warnings
2019-03-18 19:55:45 +01:00
vit9696
d735de611d
Implement kernel patches
2019-03-18 13:22:34 +03:00
vit9696
e867f4dcd1
Implement blocking kext from loading
2019-03-18 10:11:07 +03:00
vit9696
b05b5a66d1
Implement kext patcher with symbolic resolver in OcAppleKernelLib
...
1. Add support for parsing ID/IDREF in OcXmlLib.
2. Add support for parsing hex numbers in OcXmlLib.
3. Fix buggy MachoSymbolGetFileOffset64 mishandling section numbers.
2019-03-18 00:57:20 +03:00
vit9696
44315e1659
Add more stubs for kext injection with executables
2019-03-17 19:19:56 +03:00
vit9696
92aa15f02a
Report valid ModificationTime in prelinked hook in KernelTest
...
This is important for 10.9, where boot.efi checks that the ModificationTime
matches either /S/L/E or /mach_kernel (whichever is newer).
2019-03-17 16:56:10 +03:00
vit9696
0484a1c893
Simplify resource management in OcAppleKernelLib
2019-03-17 13:54:12 +03:00
vit9696
738932d5b6
Implement plist-only kext injection
2019-03-16 23:32:17 +03:00
vit9696
58d75a200a
Implement prelinkedkernel plist replacement support
2019-03-16 22:02:04 +03:00
vit9696
6f58bf2be4
Fix ReadFileSize not returning size
2019-03-14 12:07:35 +03:00
vit9696
eb6b186fee
Implement kernel interception code
2019-03-14 00:30:00 +03:00