411 Commits

Author SHA1 Message Date
Download-Fritz
350ac16aec OcAppleKernelLib: Fix weak symbol resolution. 2019-03-29 15:59:40 +01:00
Download-Fritz
79f197a69a OcAppleKernelLib: Fix typo 2019-03-29 12:46:24 +01:00
Download-Fritz
2ded74700c OcAppleKernelLib: Reference (Dy)Symtab by the variable for readability. 2019-03-29 12:45:48 +01:00
Download-Fritz
4837db2789 OcAppleKernelLib: Initialize Symtab and DySymtab early. 2019-03-29 12:43:45 +01:00
Download-Fritz
e17d99deb4 OcMachoLib: Fail when image is to be dynamically linked and lacks DySymtab. 2019-03-29 12:43:45 +01:00
Download-Fritz
7655880df9 OcAppleDiskImageLib: Use BaseLib's CalculateCrc32 over gBS's. 2019-03-29 11:15:19 +01:00
Download-Fritz
d16b2fac6c OcAppleDiskImageLib: Allocate Block I/O Media struct as part of the context struct. 2019-03-29 11:05:03 +01:00
Download-Fritz
910df29e93 OcAppleDiskImageLib: Directly print the DMG file path to the Device Path node. 2019-03-29 10:59:53 +01:00
Download-Fritz
6c26991e73 OcAppleDiskImageLib: Allocate temporary Device Path nodes on the stack. 2019-03-29 10:57:18 +01:00
Download-Fritz
95920f17a3 OcAppleDiskImageLib: Use a stack buffer for the DMG file name. 2019-03-29 10:38:42 +01:00
Download-Fritz
8d8d68ef4c OcAppleDiskImageLib: Move include directives to the code files. 2019-03-29 10:38:42 +01:00
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