425 Commits

Author SHA1 Message Date
vit9696
bfeaab9986 OcCompressionLib: Remove buffer reallocation and add system zlib support for testing 2019-03-30 18:14:32 +03:00
Download-Fritz
79e1038d99 OcCompressionLib: Fix typo. 2019-03-30 14:50:44 +01:00
vit9696
b5335c2ac3 OcCompressionLib: Rework zlib.h header macros 2019-03-30 16:47:35 +03:00
vit9696
4c4dd117d6 OcAppleDiskImageLib: Fix compilation warning 2019-03-30 16:47:07 +03:00
vit9696
11c19f6e84 OcComparessionLib: Reindent zlib.c to avoid editor issues 2019-03-30 16:39:41 +03:00
vit9696
333c387aa9 OcCompressionLib: Handle BFINAL bit properly in zlib.c 2019-03-30 16:36:09 +03:00
Download-Fritz
b3c00c005b OcAppleDiskImageLib: Use OcCompressionLib over internal zlib. 2019-03-30 12:35:28 +01:00
Download-Fritz
9b501a7181 OcCompressionLib: Add license header. 2019-03-30 12:35:28 +01:00
Download-Fritz
7f3013b0ba OcAppleDiskImageLib: Move all Block I/O Code to BlockIo.c. 2019-03-30 12:35:28 +01:00
vit9696
20ebb4c57c OcAppleKernelLib: Add invariants for Mach-O context creation 2019-03-29 23:46:56 +03:00
Download-Fritz
2cd4dd3ae2 OcCompressionLib: Expose ZLIB (de)compression. 2019-03-29 18:49:57 +01:00
Download-Fritz
34e3c95a5e OcCompressionLib: Remove zlib's disable compression function. 2019-03-29 17:07:29 +01:00
Download-Fritz
2ccfa7b91f OcCompressionLib: Mod zlib code to compile. 2019-03-29 17:04:37 +01:00
Download-Fritz
2967a4da11 OcCompressionLib: Initial import of putty zlib code. 2019-03-29 17:02:21 +01:00
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