37 Commits

Author SHA1 Message Date
Download-Fritz
96db531ad8 TestsUser/Prelinked: Error-exit when preparation fails 2019-12-11 17:58:22 +01:00
vit9696
3223115d87 OcAppleKernelLib: Add lapic master CPU patch to never need lapic_dont_panic=1 2019-06-11 23:08:08 +03:00
vit9696
2825930a0d OcMiscLib: Force our own base64 implementation, edk2 is broken
Revert "Deprecate OcBase64Decode in favor of edk2's Base64Decode"
This reverts commit 2104029260a009b807614b10aaee931685840282.
Reference: https://github.com/acidanthera/bugtracker/issues/372
2019-06-10 19:59:23 +03:00
Download-Fritz
2104029260 Deprecate OcBase64Decode in favor of edk2's Base64Decode 2019-06-09 19:30:26 +02:00
vit9696
aeb2b324fe OcBootManagementLib: Add support for detecting bootcamp 2019-04-06 13:45:32 +03:00
vit9696
bfeaab9986 OcCompressionLib: Remove buffer reallocation and add system zlib support for testing 2019-03-30 18:14:32 +03:00
vit9696
8255f23ff0 OcAppleKernelLib: Tune based on profiling data 2019-03-29 01:24:04 +03:00
vit9696
7deb4a0c2e TestsUser/Prelinked: Provide support for compressed prelinkedkernel 2019-03-28 20:15:52 +03:00
vit9696
9c64d37094 OcAppleKernelLib: Fix more memory leaks 2019-03-28 13:05:50 +03:00
Download-Fritz
a49fa24c34 TestsUser/Prelinked: Fix typo. 2019-03-27 20:07:14 +01:00
vit9696
d1ae3f2ba6 TestsUser: Fix broken logic in Prelinked.c 2019-03-27 20:39:56 +03:00
vit9696
60d0957751 TestsUser: Make Prelinked.c inject from multiple stdin 2019-03-27 20:02:06 +03:00
Download-Fritz
3ec6d72afe TestsUser/Prelinked: Don't try to prelink vSMC when Lilu was not. 2019-03-27 15:20:12 +01:00
vit9696
6bb2e4b46f OcAppleKernelLib: Improve fuzzing compatibility 2019-03-27 16:37:47 +03:00
vit9696
786b78710b OcAppleKernelLib: Fix vtable integer overflow 2019-03-27 02:30:35 +03:00
vit9696
578ede29e8 OcAppleKernelLib: Add more debug info and increase test size 2019-03-27 01:56:13 +03:00
vit9696
b9988453e3 OcMachoLib: Fix symbol type comparison 2019-03-27 00:10:21 +03:00
vit9696
8bd4b330f6 TestsUser: Allow injecting passed Info.plist 2019-03-26 12:10:10 +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
72b4e55786 Fix invalid Mach-O command handling during kext injection 2019-03-23 17:17:33 +03:00
vit9696
89b3226385 Remove extra file 2019-03-23 16:16:23 +03:00
vit9696
f9d5c1c4fd Implement test kext reading from command line
Also remove legacy OcMachoPrelinkLib.
2019-03-23 16:15:30 +03:00
vit9696
43ecade607 Try more harsh kernel injection testing 2019-03-23 15:05:13 +03:00
vit9696
9be9d50677 Implement support for linking on injected kext and fix minor issues 2019-03-23 15:05:12 +03:00
Michael Belyaev
d59b78fad4 Add AppleIntelCPUPowerManagement patches 2019-03-21 20:03:59 +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
a9b3b67c63 Implement load and kmod address calculation in kext inject 2019-03-19 21:34:15 +03: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
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
9ce5f7b29d Add export to OcXmlLib 2019-03-16 14:53:24 +03:00