69 Commits

Author SHA1 Message Date
vit9696
f4fceb7a91 OcMemoryLib: Initial version 2019-07-16 20:21:43 +03:00
vit9696
d3a626cdc5 OcInterface: Implement initial OcInterface protocol with test sample 2019-06-18 12:49:24 +03:00
vit9696
a2d69bd0ca Build: Fix metadata header inclusion
closes acidanthera/bugtracker#374
2019-06-11 23:17:14 +03:00
vit9696
7fafb35757 OcBootManagementLib: Implement tool loading 2019-06-07 00:24:45 +03:00
vit9696
3b55feb79d DataHubTest: Fix compilation 2019-05-24 10:47:31 +03:00
vit9696
3abc8ed04c
SmbiosTest: Fix warning
closes acidanthera/bugtracker#338
2019-05-21 09:19:17 +03:00
vit9696
28b76c3df7 OcSmbiosLib: Debugging cleanup and Auto mode removal 2019-05-13 22:00:33 +03:00
Download-Fritz
e452579f7d Remove references to IntelFrameworkPkg 2019-05-11 12:28:48 +02:00
Download-Fritz
f7103d56f4 OcDataHubLib: Expose DataHub via edk2 implementation if not installed 2019-05-11 12:26:05 +02:00
yourmother
6a04119578 Code style 2019-05-02 14:11:06 +06:00
yourmother
3097c152b0 Code style 2019-05-02 14:06:15 +06:00
yourmother
d17a1cdb16 Cleanup 2019-05-02 13:50:09 +06:00
yourmother
06eec57918 Add OcCryptoLib tests 2019-05-02 13:44:51 +06:00
vit9696
ef5c3427e5 OcAcpiLib: Add drop all tables 2019-04-18 23:28:20 +03:00
vit9696
77243d99bb BlessTest: Fix compilation 2019-04-17 13:52:42 +03:00
vit9696
aa10483ce8 OcConfigurationLib: Allow reinstalling apple boot policy protocol 2019-04-16 21:54:40 +03:00
vit9696
3a3955d83c OcBootManagementLib: Skip self entry 2019-04-12 08:51:39 +03:00
vit9696
fb9216234f KernelTest: Fix compilation 2019-04-10 16:38:34 +03:00
vit9696
6a23fe6aa6 OcDevicePropertyLib: Rework installation interface 2019-04-07 00:27:11 +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
f699359d71 OcAppleBootPolicyLib: Separate from OcAppleBootPolicyLib 2019-04-03 21:57:56 +03:00
vit9696
ebf3a4ecbf OcAppleBootPolicyLib: Fix recovery image flags and add OcLoadBootEntry stub 2019-04-01 00:51:38 +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
6bb2e4b46f OcAppleKernelLib: Improve fuzzing compatibility 2019-03-27 16:37:47 +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
b7734fc3d5 Fix FSBFrequency and thread count detection on Penryn 2019-03-20 23:29:46 +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
a0f92c55d9 Implement FADT reset register enabling patch 2019-03-14 23:03:06 +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