35 Commits

Author SHA1 Message Date
vit9696
4d94e639ca OcAppleKernelLib: Check symbol range during vtable parsing 2019-03-24 15:11:24 +03: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
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
72797bbc9c Implement ugly hack to prelinked hex value printing 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
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
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
vit9696
c43916be47 Update instructions for TestUser 2019-03-16 12:57:00 +03:00
vit9696
35222181d9 Unify SMBIOS fields and fix user test compilation 2019-03-10 13:11:37 +03:00
Download-Fritz
82e52f2948 OcSmbiosLib: Merge (Extended)FirmwareFeatures config entries and split for SMBIOS. 2019-03-09 15:11:35 +01:00
vit9696
29354b8f62 Fix DSDT injection and implement region relocation, thx Clover 2019-03-09 06:15:53 +03:00
vit9696
cce17e841b Start working on OcAcpiLib 2019-03-09 01:57:11 +03:00
vit9696
6db372da22 Fix several OcDevicePropertyLib issues 2019-03-08 00:39:38 +03:00
vit9696
46a4377935 Accuracy and compatibility fixes for OcCpuLib 2019-03-07 17:14:11 +03:00
vit9696
c419f7bc93 Remove trailing spaces from SMBIOS strings, as they cause UI glitches
In particular, About Memory window starts to repeat PartNumber multiple times
2019-03-06 23:29:06 +03:00
vit9696
75f1f8b0bf Fix zero length string handling in SMBIOS library 2019-03-06 15:28:57 +03:00
vit9696
5c959d5862 Fix handling original values 2019-03-06 01:06:21 +03:00
vit9696
e17a0689be Support different update modes in SMBIOS and fix minor issues 2019-03-05 23:47:38 +03:00
vit9696
a8d07657ab Import userspace tests 2019-03-05 17:02:05 +03:00