158 Commits

Author SHA1 Message Date
vit9696
95a333c490 Add empty label support to oc boot policy and fix dmg boot 2019-01-25 14:40:59 +03:00
vit9696
1b738be84a Fix disk label regression and correct APFS recovery path 2019-01-25 10:29:03 +03:00
vit9696
b13c2a493e Partially fix APFS recovery detection 2019-01-24 22:41:38 +03:00
vit9696
5e3dc3c6df Refactor OcAppleChunklistLib and fix out of bounds memory access in it 2019-01-20 22:40:42 +03:00
vit9696
8e252e9831 1. Redesign OcFileLib (and drop currently unneeded interfaces for the time being)
2. Add OcDescribeBootEntry to OcAppleBootPolicyLib to parse boot entry name
2019-01-20 20:14:00 +03:00
Goldfish64
29dbbcc313 Add OcAppleChunklistLib 2019-01-19 15:06:38 -06:00
vit9696
8edacb0ad1 More fixes for OcAppleBootPolicyLib 2019-01-19 21:58:32 +03:00
vit9696
64b61679c0 More progress with OcAppleBootPolicyLib 2019-01-17 20:58:05 +03:00
vit9696
c1ef04e47c Fix OcMachoLib compilation 2019-01-17 12:34:26 +03:00
vit9696
a471bd6c61 Late touches on OcMachoLib 2019-01-17 10:01:26 +03:00
vit9696
caabf0b2ab Continue fixing and refactoring OcMachoLib 2019-01-16 17:46:10 +03:00
vit9696
aca4a620ac Fix sanity of symbol retrieval code 2019-01-16 13:15:22 +03:00
vit9696
69f441b5ec Restore OcMachoLib interfaces for convenience resons 2019-01-15 23:34:01 +03:00
Download-Fritz
28c65c9e9e OcMachoLib: Add forgotten initialization of Context->SymbolTable. 2019-01-15 19:14:10 +01:00
vit9696
a43cb1386e Start cleaning up OcMachoLib 2019-01-15 18:23:29 +03:00
vit9696
b69f5c22fe Continue fixing and refactoring OcAppleBootPolicyLib 2019-01-14 08:15:41 +03:00
vit9696
e9b9242d3e More fixes to OcAppleBootPolicyLib 2019-01-13 20:12:31 +03:00
vit9696
4c956d41d7 Better document OcXmlLib 2019-01-13 09:15:12 +03:00
Download-Fritz
79de438027 [WIP] OcMachoPrelink: Update PoC prelinker. 2019-01-12 22:59:38 +01:00
Download-Fritz
793b78d103 OcMachoLib: Revise several function prorotypes and checks as part of security considerations. 2019-01-12 22:57:57 +01:00
Download-Fritz
351a6a3d3b Merge branch 'master' of github.com:acidanthera/OcSupportPkg 2019-01-12 22:38:39 +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
b263af0ecc Fix OcDevicePropertyLib 2019-01-10 19:54:49 +03:00
vit9696
bf86433ea8 Add debug scripts and fix NOOPT build 2019-01-10 18:31:28 +03:00
Download-Fritz
fbac1c4258 OcMachoLib: Runtime-check whether the next LC is in bounds to allow "!= NULL" loops. 2019-01-05 16:29:48 +01:00
Download-Fritz
e92ab78bfc OcMachoLib: Add forgotten change. 2019-01-05 15:38:28 +01:00
Download-Fritz
dac925cd58 Runtime-check whether the next section is in bounds to allow "!= NULL" loops. 2019-01-05 15:37:46 +01:00
Download-Fritz
dde6882ba3 OcMachoLib: Drop inconvenient CONST qualifiers. 2019-01-05 15:37:14 +01:00
Download-Fritz
7c8347f0ad OcMachoLib: ASSERT for UINT32 limitation assumption in the symbol code. 2019-01-05 15:29:21 +01:00
Download-Fritz
8d8dbcc6d8 OcMachoLib: Fix a few C++ symbol cosmetics. 2019-01-05 15:29:21 +01:00
Download-Fritz
1bc4c3d379 OcMachoLib: Fix possible overflows when concating C++ symbol names. 2019-01-05 15:29:13 +01:00
Download-Fritz
18c8cf5435 OcXmlLib: Decorate XmlEasyChild with EFIAPI due to VA usage. 2019-01-05 15:29:01 +01:00
vit9696
7dc349bce1 Do not require OcDevicePropertyLib be used in drivers only 2019-01-05 17:20:26 +03:00
vit9696
32e6ad8440 Fix EFI_ERROR condition and improve readability 2019-01-04 23:48:39 +03:00
vit9696
3179fb0728 Initial attempt to fix and refactor OcDevicePropertyLib 2019-01-04 23:22:43 +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
6b4d5120b6 OcMachoLib: Do not use CONST qualifier in casts for readability. 2018-11-10 10:52:33 +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
37b0e363d9 OcMachoLib: Verify the name layout for SMCP and MetaClass symbols. 2018-11-09 18:30:23 +01:00
Download-Fritz
d6790881d3 OcAppleImageVerificationLib: Print image size and success mesage as INFO, not WARN. 2018-11-09 18:09:00 +01:00
Download-Fritz
b22cb40043 OcMachoLib: Use new OcStringLib macros for CCX symbol name handling. 2018-11-07 14:27:27 +01:00
Download-Fritz
97718a7599 OcMachoLib: Safety improvements, including overflow checks.
* Check for offset and address overflows
* Properly sanity-check sections
* Fix an issue misusing Section->Alignment
2018-11-07 10:18:19 +01:00
Download-Fritz
f94f6c5645 OcMachoLib: Fix Relocation iteration index overflow. 2018-11-06 09:09:01 +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
vit9696
f3222f5f9f Fix unicode print buffer size 2018-11-05 03:44:29 +03:00
vit9696
61e028454d Silence analyser 2018-11-05 02:28:09 +03:00