452 Commits

Author SHA1 Message Date
Download-Fritz
51549ac656 OcAppleDiskImageLib: Remove incorrect FreePool() call. 2019-03-31 19:26:40 +02:00
Download-Fritz
4b657266be OcAppleDiskImageLib: Sanity-check data checksum size. 2019-03-31 19:11:25 +02:00
Download-Fritz
02a294eed8 OcAppleDiskImage: Cache and verify only used Trailer values. 2019-03-31 16:18:39 +02:00
Download-Fritz
3672891504 OcAppleDiskImageLib: Only store SectorCount rather than Trailer in Context. 2019-03-31 15:34:30 +02:00
Download-Fritz
ce0c2cf1c2 OcAppleDiskImageLib: More aggressive sanity checks. 2019-03-31 15:30:17 +02:00
Download-Fritz
6aad861edf OcAppleDiskImagelib: Abort early for invalid PLIST and fix more memory leaks. 2019-03-31 09:15:23 +02:00
vit9696
e48286e720 OcCompressionLib: Use original zlib on supported compilers 2019-03-31 06:02:56 +03:00
vit9696
2f7c362bb1 OcGuardLib: Fix GCC compilation issues 2019-03-31 03:34:42 +03:00
vit9696
42c0f4d943 OcCompressionLib: zlib performance improvements 2019-03-31 03:26:34 +03:00
Download-Fritz
14dbab75c8 OcAppleDiskImageLib: Fix InternalParsePlist memory leak on error. 2019-03-30 22:00:02 +01:00
Download-Fritz
c14a3c7c17 OcAppleDiskImageLib: Do not store unused metadata. 2019-03-30 21:53:22 +01:00
Download-Fritz
9615ec24bb OcAppleDiskImageLib: Remove BLock I/O Handle duplicate. 2019-03-30 21:09:35 +01:00
Download-Fritz
0457770de0 OcAppleDiskImageLib: Remove unused zlib files. 2019-03-30 21:05:11 +01:00
Download-Fritz
212899598e OcAppleDiskImageLib: Change non-"Block I/O" to only use Base types. 2019-03-30 21:02:14 +01:00
Download-Fritz
48296d28c3 OcAppleDiskImageLib: Update the rest of the code style. 2019-03-30 20:31:29 +01:00
Download-Fritz
c8c99a5a48 OcAppleDiskImageLib: Factor out Trailer data swapping. 2019-03-30 19:22:29 +01:00
Download-Fritz
bb1796af01 OcAppleDiskImageLib: Update Block I/O code style. 2019-03-30 19:17:01 +01:00
Download-Fritz
379eb0e70b OcAppleDiskImageLib: Refactor the BLock I/O install. 2019-03-30 18:50:08 +01:00
Download-Fritz
da09c4a0ef OcAppleDiskImageLib: Make the block construction more readable. 2019-03-30 17:38:04 +01:00
Download-Fritz
2ce3530f3c OcAppleDiskImageLib: Fix potential OOB read. 2019-03-30 17:38:04 +01:00
Download-Fritz
1da0f0178b OcAppleDiskImageLib: Don't assert a sane buffer size on context init. 2019-03-30 17:38:04 +01:00
Download-Fritz
b8588268fd OcAppleDiskImageLib: Inline CRC32 verification. 2019-03-30 17:38:04 +01:00
Download-Fritz
1836ee76b0 OcAppleDiskImageLib: Assert library parameter validity, RT-check protocol input. 2019-03-30 17:38:04 +01:00
Download-Fritz
0405aeef16 OcAppleDiskImageLib: Embed DMG DP in the private data struct. 2019-03-30 17:38:03 +01:00
Download-Fritz
0c39a6d232 OcAppleDiskImageLib: Introduce DMG_DEV_PATH to simply allocation and construction. 2019-03-30 17:38:03 +01:00
Download-Fritz
4e392d2505 OcAppleDiskImageLib: Remove a couple of gotos. 2019-03-30 17:38:03 +01:00
vit9696
dd9f75248c OcCompressionLib: Avoid extra allocations 2019-03-30 19:19:30 +03:00
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