Download-Fritz 2ceee875bf OcAppleImageVerificationLib: Fix potential memory corruption
The reallocated pointer is not returned and thus lost locally (leak). Because ReallocatePool frees the old buffer on success, the caller pointers are unsafe after calling this function (potential corruption). Because the rest of the buffer is zero'd right before, there should be no security concern keeping the current buffer.
2019-11-13 09:39:09 +01:00
2019-04-10 08:29:47 +03:00
2019-11-06 19:26:45 +01:00
2019-11-06 19:26:45 +01:00
2019-03-29 13:44:17 +03:00
2018-10-02 20:04:48 +03:00
2019-03-19 20:33:20 +02:00
2019-06-04 20:46:51 +03:00

OcSupportPkg

Additional UEFI support common libraries shared by other projects in Acidanthera. The primary purpose of the library set is to provide supplemental functionality for Apple-specific UEFI drivers.

Early history of the codebase could be found in AppleSupportPkg and PicoLib library set by The HermitCrabs Lab.

Features

  • Apple PE image signature verification
  • CPU information gathering
  • Cryptographic primitives (SHA-256, RSA, etc.)
  • Helper code for ACPI reads and modifications
  • Higher level abstractions for files, strings, timers, variables
  • Overflow checking arithmetics
  • PE image loading with no UEFI Secure Boot conflict
  • Plist configuration format parsing
  • PNG image loading

OcGuardLib

This library implements basic safety features recommended for the use within the project. It implements fast safe integral arithmetics mapping on compiler builtins, type alignment checking, and UBSan runtime, based on NetBSD implementation.

The use of UBSan runtime requires the use of Clang compiler and -fsanitize=undefined argument. Refer to Clang documentation for more details.

Credits

Description
OpenCore bootloader
Readme 345 MiB
Languages
C 95.2%
Assembly 1.9%
Shell 0.9%
Python 0.9%
C++ 0.8%
Other 0.3%