400 Commits

Author SHA1 Message Date
Download-Fritz
7704f2bdfd OcAppleDiskImageLib: Remove unused allocation functions. 2019-03-29 10:38:42 +01:00
Download-Fritz
ffa5d574b1 OcAppleDiskImageLib: Fix compilation warnings. 2019-03-29 10:38:42 +01:00
Download-Fritz
f37ceb655c OcAppleDiskImageLib: Adapt to OcXmlLib changes. 2019-03-29 10:38:42 +01:00
Download-Fritz
7f078a39f7 OcAppleDiskImageLib: Initial import. 2019-03-29 10:38:42 +01:00
Download-Fritz
826d078efd OcMachoLib and OcAppleMachoLib: Silence type warnings. 2019-03-29 10:38:42 +01:00
vit9696
8255f23ff0 OcAppleKernelLib: Tune based on profiling data 2019-03-29 01:24:04 +03:00
Download-Fritz
afc7db0518 OcAppleKernelLib: Revert swapping of Value and Name for symbols to improve performance. 2019-03-28 21:17:15 +01:00
vit9696
f0268b6ed3 OcMachoLib: Fix expansion of images with segment size mismatch before last 2019-03-28 22:56:51 +03:00
Download-Fritz
0cd59e79c1 OcAppleKernelLib: Assign expanded size to LinkEdit->FileSize. 2019-03-28 20:05:55 +01:00
Download-Fritz
3569db702d OcAppleKernelLib: Verify indirect symbol pointer alignments. 2019-03-28 19:22:33 +01:00
Download-Fritz
eee3a46295 OcAppleKernelLib: Process indirect symbols. 2019-03-28 19:18:05 +01:00
Download-Fritz
25ea29a92d OcAppleKernelLib: Reassign RelocationsSize after preserving relocs. 2019-03-28 19:06:41 +01:00
vit9696
0043a78ad4 OcCompressionLib: Fix undefined behavior warning in lzvn.c 2019-03-28 20:14:11 +03:00
vit9696
4314cec094 OcFileLib: Implement file writing functionality based on CrScreenshotDxe from LongSoft 2019-03-28 18:33:41 +03:00
vit9696
504612ff9a OcFileLib: Add missed header 2019-03-28 18:16:02 +03:00
vit9696
cc33e6949b OcVirtualFsLib: Handle edge case when EFI_FILE_PROTOCOL instance mismatches the caller 2019-03-28 17:39:07 +03:00
Download-Fritz
5fa14fe4b6 OcAppleKernelLib: Rework memory leak fixes. 2019-03-28 12:24:49 +01:00
vit9696
9c64d37094 OcAppleKernelLib: Fix more memory leaks 2019-03-28 13:05:50 +03:00
Download-Fritz
be4d877b02 OcAppleKernelLib: Fix possible VTable memory leak on failure. 2019-03-28 10:24:48 +01:00
Download-Fritz
c8e4fe99da OcAppleKernelLib: Fix more BOOLEAN->EFI_STATUS. 2019-03-28 09:52:42 +01:00
Download-Fritz
3906be2bc8 OcAppleKernelLib: Fix return type BOOLEAN->EFI_STATUS. 2019-03-28 09:49:53 +01:00
Download-Fritz
69ff0f89e4 OcAppleKernelLib: Prevent memory leak on SymbolTable construction failure. 2019-03-28 09:22:20 +01:00
Download-Fritz
5e1df94834 OcAppleKernelLib: Fix LinkedVtables memory leak. 2019-03-27 20:06:49 +01:00
Download-Fritz
738c81e03f OcAppleKernelLib: Zero external reloc offset after prelinking. 2019-03-27 18:45:02 +01:00
vit9696
737e17c847 OcMachoLib: Implement support for unpacking FAT images 2019-03-27 19:36:25 +03:00
vit9696
f7f7a6795f OcAppleKernelLib: Implement workaround for linking against IOHIDSystem 2019-03-27 18:52:37 +03:00
Download-Fritz
7c8f51f6f2 OcAppleKernelLib: Remove superfluous STAB check. 2019-03-27 15:20:12 +01:00
Download-Fritz
27e0783af3 OcAppleKernelLib: Lookup prelinked VTables via Prelinked Symbol Table. 2019-03-27 13:52:09 +01:00
Download-Fritz
ad5d46f9af AppleOcKernelLib: Do not index STAB symbols when scanning prelinked KEXTs. 2019-03-27 13:08:56 +01:00
Download-Fritz
146faf684d OcAppleKernelLib: Skip STABs during prelinked KEXT VTable enum. 2019-03-27 10:47:32 +01:00
vit9696
5d1901ac52 OcAppleKernelLib: Fix uninitialised data access caused by improper vtable construction 2019-03-27 09:37:02 +03:00
vit9696
cc254d2ae3 OcAppleKernelLib: Revert invalid 9f791d4 and change USB limit patch order 2019-03-27 08:55:35 +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
1dc487c6da Add IOUSBHostFamily patch for XHCI patch 2019-03-27 01:30:29 +03:00
Download-Fritz
bbea9dba45 OcMachoLib: Retrieve symbol section via Section instead of Value. 2019-03-26 23:16:56 +01:00
Download-Fritz
2ac0ee8085 OcMachoLib: Correctly detect symbol definition and section type. 2019-03-26 23:16:56 +01:00
Download-Fritz
37e30743fd OcAppleKernelLib: Do not resolve STABs or use them for kmod_info/SMCPs. 2019-03-26 23:16:56 +01:00
PMheart
9f791d4392 OcAppleKernelLib: Corrected mistakes in PatchUsbXhciPortLimit. 2019-03-27 05:42:59 +08:00
Download-Fritz
f1ab3b85e9 OcAppleKernelLib: STAB symbols are not considered defined. 2019-03-26 22:23:25 +01:00
vit9696
b9988453e3 OcMachoLib: Fix symbol type comparison 2019-03-27 00:10:21 +03:00
Download-Fritz
61244b5fca OcMachoLib and OcAppleKernelLib: Properly error-check section indices. 2019-03-26 21:20:17 +01:00
Download-Fritz
7aa35ede0e OcMachoLib: Skip section-based relocs with ABS SymbolNumber. 2019-03-26 21:10:57 +01:00
vit9696
b760f92fdb AppleKernelLib: Fix x86_64 OSBundleLibraries parsing and increase dependency limit 2019-03-26 22:13:20 +03:00
Download-Fritz
93fe656deb OcAppleKernelLib: OSBundleLibraries are optional. 2019-03-26 19:10:15 +01:00
Download-Fritz
362d2ba795 OcAppleKernelLib: Verify VTable length only via extern relocs. 2019-03-26 17:18:22 +01:00
Download-Fritz
c814d82ef1 OcMachoLib: Introduce GetSymbolbyExternReloc API. 2019-03-26 17:18:02 +01:00
Download-Fritz
ff3563866d OcMachoLib: Sanity-check symbols referenced by local relocs. 2019-03-26 17:02:02 +01:00
Download-Fritz
c934495c0f OcMachoLib: Skip when an insane symbol is hit. Don't re-sanity-check. 2019-03-26 17:01:38 +01:00
Download-Fritz
074c25fcc9 OcAppleKernelLib: Fix VTable patching walk. 2019-03-26 17:01:05 +01:00