John Davis
6c188569e6
OcAppleKernelLib: Fix potential null reference and account for kxld symbols
2022-07-14 06:59:28 -05:00
John Davis
4c45308b3a
OcAppleKernelLib: Fix codestyle
2022-07-13 20:50:35 -05:00
John Davis
9872eef1d1
OCAK: Fix ProvideCurrentCpuInfo
...
Changed function to use original symbol values instead of recalculating them, as segment information is not available on macOS 11 and newer. Implemented full 32-bit support for TSC value calculations.
2022-07-13 20:34:51 -05:00
Marvin Häuser
d916dd65b8
OcMachoLib: Treat container Mach-O as reference file
...
As of macOS 13 Developer Beta 3, the Kernel Collection's inner kernel
references a segment that precedes itself. The current model is that
a Kernel Collection is a container format and the included files are
(mostly) separate. Hence, this was treated as an out-of-bounds issue.
Kernel Collections apparently are rather an unconventional composite
format, where the sub-files are still part of the whole. Redesign
OcMachoLib to treat the Kernel Collection as the reference file.
Patches still use only the inner file, while parsing considers the
whole file.
2022-07-07 17:52:25 +02:00
PMheart
228f8ca1fb
Codestyle: Apply codestyle changes with Uncrustify
2022-04-25 14:51:15 +02:00
PMheart
95b487a2a3
OcAppleKernelLib: Kext block strategy for prelinked ( #320 )
2022-02-11 10:54:30 +01:00
John Davis
676ef93d9d
OcAppleKernelLib: Add 32-bit prelinking support ( #122 )
2020-09-29 12:41:37 +03:00
John Davis
74062d4e0f
OcAppleKernelLib: Add 32-bit Mach-O and patching support ( #118 )
2020-09-13 22:57:10 +03:00
Goldfish64
85d0532e17
OcAppleKernelLib: Fix previous commit
2020-09-13 11:49:02 -05:00
Goldfish64
d583e2031a
OcAppleKernelLib: Only apply KC address fixup during block if KC
2020-09-13 10:57:53 -05:00
vit9696
dc923bc895
OcAppleKernelLib: Partially fix kext blocking for 11.0
2020-08-22 09:54:29 +03:00
vit9696
dde7432b62
OcAppleKernelLib: Implement KXLD symbolic solver
2020-08-22 09:11:28 +03:00
vit9696
04fa1c2394
OcAppleKernelLib: Implement cacheless & mkext kext patching and quirks ( #102 )
2020-08-18 23:47:38 +03:00
vit9696
802dcdbf19
OcAppleKernelLib: Fix arg order for OcKernelLoadKextsAndReserve
2020-07-07 00:14:45 +03:00
vit9696
995924032c
OcAppleKernelLib: Get kernel patcher work (mostly)
2020-07-05 04:23:43 +03:00
Download-Fritz
07b697d28d
OcMachoLib: Support KC Mach-Os
2020-07-04 15:28:22 +02:00
vit9696
3ec848da3d
Build: Replace RETURN_ macros with EFI_
2020-04-18 15:55:05 +03:00
vit9696
992589931a
OcAppleKernelLib: Add patcher comments and enable them for common patches
2019-08-31 22:33:09 +03: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
14937b9e93
OcAppleKernel: KmodInfo is packed, clang will access it properly
2019-04-07 11:30:43 +03:00
vit9696
214e377350
OcAppleKernelLib: Fix handling of unaligned kmod info in kext blocker
2019-04-07 11:23:15 +03:00
vit9696
7be8acbbe8
Patches: Implement patch limit concept in OcAcpiLib and OcAppleKernelLib
2019-04-06 17:49:27 +03:00
Download-Fritz
aa490fa0e3
OcAppleKernelLib: Cosmetical changes.
2019-04-05 21:04:05 +02:00
vit9696
515f5e83c2
OcAppleKernelLib: Consider positive replace count as successful and log replace mismatch
2019-04-01 23:54:13 +03:00
vit9696
20ebb4c57c
OcAppleKernelLib: Add invariants for Mach-O context creation
2019-03-29 23:46:56 +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
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
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