60 Commits

Author SHA1 Message Date
vit9696
4c956d41d7 Better document OcXmlLib 2019-01-13 09:15:12 +03:00
Download-Fritz
793b78d103 OcMachoLib: Revise several function prorotypes and checks as part of security considerations. 2019-01-12 22:57:57 +01:00
vit9696
f26c18d655 1. Cleanup OcAppleBootPolicyLib
2. Remove CupertinoAppleBootPolicyLib
3. Add UninstallAllProtocolInterfaces
2019-01-12 23:54:01 +03:00
vit9696
95f96695b4 Initial import of OcAppleBootPolicyLib 2019-01-11 08:25:32 +03:00
vit9696
bf86433ea8 Add debug scripts and fix NOOPT build 2019-01-10 18:31:28 +03:00
Download-Fritz
dde6882ba3 OcMachoLib: Drop inconvenient CONST qualifiers. 2019-01-05 15:37:14 +01:00
Download-Fritz
18c8cf5435 OcXmlLib: Decorate XmlEasyChild with EFIAPI due to VA usage. 2019-01-05 15:29:01 +01:00
vit9696
4cb52a21aa Implement static assertion support 2019-01-03 23:53:20 +03:00
Download-Fritz
62c681dd9f OcMachoLib: Fix function prototype from last commit. 2018-11-10 10:57:46 +01:00
Download-Fritz
51c63ec135 OcMachoLib: Introduce MachoSymbolGetFileOffset64() API. 2018-11-10 10:53:11 +01:00
Download-Fritz
619e30c5ba OcMachoLib: Retrieve symbol type by name. 2018-11-09 18:50:20 +01:00
Download-Fritz
d924a62b4e OcStringLib: Convert to BASE instance. 2018-11-09 18:49:30 +01:00
Download-Fritz
28df0053bf PcStringLib: Introduce string literal macros for length and size. 2018-11-07 14:20:19 +01:00
Download-Fritz
97da06f663 OcMachoLib: use UINT32 for FileSize and all offsets. 2018-11-06 09:08:46 +01:00
vit9696
475f0176c4 Extend OcDevicePathLib and fix memory leaks 2018-11-05 12:06:51 +03:00
Download-Fritz
ff6a9b83eb OcMachoLib: Ensure string index sanity when retrieving an indirect symbol's name. 2018-11-04 10:30:33 +01:00
Download-Fritz
524732e0ef OcMachoLib: Use UINT32 variables to refer to UINT32 Mach-O structure data. 2018-11-04 09:14:20 +01:00
Download-Fritz
4241912574 OcMachoLib: Publish updated Context struct to support static allocations. 2018-11-04 09:06:50 +01:00
Download-Fritz
df54805a92 OcMachoLib: Always return Mach-O memory as CONST. 2018-11-04 08:42:04 +01:00
Download-Fritz
8ddbd9fdd4 OcMachoLib: Introduce MachoGetFileSize() API. 2018-11-04 08:21:17 +01:00
Download-Fritz
3b9ad05f71 OcMachoLib: Generically take VOID * for file data in Context init. 2018-11-04 08:19:27 +01:00
Download-Fritz
edbfcdaecb OcMachoLib: Reorder MachoInitializeContext() arguments to match OOP. 2018-11-03 19:45:51 +01:00
Download-Fritz
16376f2ee9 Merge branch 'master' of github.com:acidanthera/OcSupportPkg 2018-10-31 07:21:51 +01:00
vit9696
c97890a5f3 Implement alignment checking macros within OcGuardLib (formerly OcOverflowLib) 2018-10-31 00:45:36 +03:00
vit9696
5bd4aa6091 Move NullTextOutput to OcMiscLib 2018-10-28 18:09:29 +03:00
vit9696
5284879b38 Initial support for parsing serialised objects 2018-10-26 22:24:56 +03:00
vit9696
97d68a6b31 Fix OcTimerLib interface to be compatible with TimerLib.h 2018-10-24 18:04:33 +03:00
Download-Fritz
2cf8e08118 OcMachoLib: Introduce MachoGetMachHeader64(). 2018-10-21 21:57:35 +02:00
Download-Fritz
c1fe60e115 OcMachoLib: Remove orphaned function declaration. 2018-10-21 21:54:46 +02:00
Download-Fritz
c3d4298326 OcMachoLib: Introduce symbol name retrieval functions. 2018-10-21 21:54:31 +02:00
Download-Fritz
92bbf6d606 OcMachoLib: Use incomplete type completed within the library as Context. 2018-10-21 17:19:40 +02:00
Download-Fritz
563e61ebcf OcMachoLib: Import MachoIsSymbolValueSane64(). 2018-10-21 15:10:56 +02:00
Download-Fritz
d6636d80ba OcMachoLib: Return non-CONST pointers. 2018-10-21 15:08:23 +02:00
Download-Fritz
4265923609 OcMachoLib: No longer expose GetExternalRelocationByOffset(). 2018-10-21 14:55:01 +02:00
Download-Fritz
bcdddbd9ae OcMachoLib: Update MachoGetMetaclassSymbolFromSmcpSymbol64() to use the new public APIs. Removes MachoGetCxxSymbolByExternRelocation64(). 2018-10-21 14:53:18 +02:00
Download-Fritz
48ea3b19f1 OcMachoLib: Get C++ symbols via relocations only from the extern ones. 2018-10-21 14:39:04 +02:00
Download-Fritz
38a311d72d OcMachoLib: Introduce MachoGetSymbolByExternRelocationOffset64(). 2018-10-21 14:19:25 +02:00
Download-Fritz
bb4650c47a OcMachoLib: Introduce MachoGetSymbolByIndex64(). 2018-10-21 14:00:37 +02:00
Download-Fritz
3299b3e158 OcMachoLib: Mark Context as IN OUT non-CONST. 2018-10-21 05:35:21 +02:00
Download-Fritz
2071d6643d OcMachoLib: Retrieve SYMTAB and DYSYMTAB via Context. Do not expose SYMTAB and DYSYMTAB directly. 2018-10-21 05:16:22 +02:00
Download-Fritz
339b36686b OcMachoLib: Turn GetSymbolByName into a private API. Different subsections shall be accessed by dedicated APIs. 2018-10-20 14:51:21 +02:00
Download-Fritz
5b67566e6f OcMachoLib: Fix "Mach-O" stylization. 2018-10-20 02:13:15 +02:00
Download-Fritz
53178770a0 OcMachoLib/Header: Introduce more sanity checks. 2018-10-20 02:10:41 +02:00
Download-Fritz
6015bce8d7 OcMachoLib: Update Get*Symtab naming scheme. 2018-10-20 01:32:44 +02:00
Download-Fritz
2c26827077 OcMachoLib: Make OC_MACHO_CONTEXT struct private. Provide MachoGetContextSize(). 2018-10-19 18:17:12 +02:00
Download-Fritz
0247641371 OcMachoLib: Deprecate GetFirstSegment/Section to simplify the future control flow. 2018-10-19 15:27:11 +02:00
Download-Fritz
a3241dbde4 OcMachoLib: Deprecate Get*Command in favor of specific retrieval functions. 2018-10-19 14:56:38 +02:00
Download-Fritz
b1bc2328ad OcMachoLib: Introduce Symtab and DySymtab retrieval functions. 2018-10-19 14:54:09 +02:00
Download-Fritz
c6bf9d0590 OcMachoLib: Introduce Context concept. 2018-10-19 05:55:38 +02:00
Download-Fritz
971b454b2f OcMachoLib: Implement MachoGetNextCommand64. 2018-10-15 04:14:04 +02:00