29 Commits

Author SHA1 Message Date
vit9696
f4fceb7a91 OcMemoryLib: Initial version 2019-07-16 20:21:43 +03:00
vit9696
fb9216234f KernelTest: Fix compilation 2019-04-10 16:38:34 +03:00
Download-Fritz
faf7976d33 Retire OcProtocolLib, move UninstallAllProtocols function to OcMiscLib 2019-04-06 13:09:13 +02:00
vit9696
aeb2b324fe OcBootManagementLib: Add support for detecting bootcamp 2019-04-06 13:45:32 +03:00
vit9696
65dad1e128 OcAppleBootPolicyLib: Implement simple boot picker 2019-03-31 21:43:47 +03:00
vit9696
8255f23ff0 OcAppleKernelLib: Tune based on profiling data 2019-03-29 01:24:04 +03:00
vit9696
adc7eebb32 Tests/KernelTest: Print reservation size for injected kexts 2019-03-28 20:19:12 +03:00
vit9696
cc33e6949b OcVirtualFsLib: Handle edge case when EFI_FILE_PROTOCOL instance mismatches the caller 2019-03-28 17:39:07 +03:00
vit9696
0badcb3cb4 OcAppleKernelLib: Cleanup kext patching code 2019-03-25 20:09:55 +03:00
vit9696
e169a7aa7e Ensure 1:1 disk:vm mach-o matching requirement during kext inject 2019-03-24 01:50:57 +03:00
vit9696
43ecade607 Try more harsh kernel injection testing 2019-03-23 15:05:13 +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
dcbb94fa5c Cache discovered kexts and implement PRELINKED_KEXT structure 2019-03-20 00:54:51 +03:00
vit9696
d735de611d Implement kernel patches 2019-03-18 13:22:34 +03:00
Michael Belyaev
5adf1bf898
Update KernelTest.c 2019-03-18 12:41:57 +03:00
vit9696
e867f4dcd1 Implement blocking kext from loading 2019-03-18 10:11:07 +03:00
vit9696
9b692981c8 Add usb port limit patch example to KernelTest 2019-03-18 07:47:49 +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
1818c06e9a Add forgotten prelink size update after injection 2019-03-17 19:36:25 +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
515f0a8f85 Implement attribute parsing in xml and add plist regenerate test 2019-03-16 16:46:48 +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
vit9696
da708a8427 Implement virtual fs support 2019-03-13 02:22:28 +03:00