2227 Commits

Author SHA1 Message Date
Download-Fritz
fb6bf6e072 OcMachoLib: Fix borked MachoGetFirstCommand. 2018-10-15 04:26:38 +02:00
Download-Fritz
b9f25bbb0b OcMachoLib: Make MachoGetNextSegment safer. 2018-10-15 04:20:02 +02:00
Download-Fritz
cb7872bc26 OcMachoLib: Implement MachoGetFirstSegment and MachoGetNextSegment via MachoGet*Command. 2018-10-15 04:14:28 +02:00
Download-Fritz
971b454b2f OcMachoLib: Implement MachoGetNextCommand64. 2018-10-15 04:14:04 +02:00
Download-Fritz
364927a336 OcMachoLib: Replace CpuType with MachHeader arguments for unconditional checks are needed anyway. 2018-10-15 03:57:08 +02:00
Download-Fritz
1e189609de OcMachoLib: Introduce slightly more error-checking. 2018-10-15 03:57:08 +02:00
Download-Fritz
ba570f2100 OcMachoLib: Remove nonsensical ASSERTs. 2018-10-15 03:57:08 +02:00
Download-Fritz
bd05dab51d OcMachoLib: Error-exit instead of ASSERT when the MACH-O signature does not match. 2018-10-15 03:57:08 +02:00
vit9696
f494d1e1f4 Drop print lib 2018-10-14 20:12:03 +03:00
vit9696
36da7261a1 Fix OcMachoLib compilation 2018-10-14 12:01:45 +03:00
Download-Fritz
663697ce20 OcMachoLib: Clarify symbol name functions naming. 2018-10-14 05:14:01 +02:00
Download-Fritz
f0ef9a23a7 OcMachoLib: Remove accidentially imported function. 2018-10-14 04:37:21 +02:00
Download-Fritz
6b3c6347c8 OcMachoLib: Initial import. 2018-10-14 04:17:50 +02:00
Download-Fritz
466b43833e Remove "Hdr" structs introduced with the one-sized array hack. 2018-10-12 16:07:02 +02:00
Download-Fritz
2527fc9c75 Use flexible arrays to avoid UB.
This partially reverts 8949a65027. C99, 6.5.6 7) has not been considered.
2018-10-11 17:18:00 +02:00
Download-Fritz
47a58c76f5 Update copyright information. 2018-10-11 16:52:06 +02:00
Download-Fritz
d44e923f5c OcDevicePropertyLib: Restore variable functionality.
This partially reverts e4d55a4f77
2018-10-11 16:13:04 +02:00
Download-Fritz
8949a65027 Replace one-sized arrays with one member (flexible array hack) to avoid UB.
Reference: https://wiki.sei.cmu.edu/confluence/display/c/DCL38-C.+Use+the+correct+syntax+when+declaring+a+flexible+array+member
2018-10-11 15:58:08 +02:00
Download-Fritz
1f917cae01 OcAppleImageVerificationLib: Fix OcOverflowSubU32 call on an UINTN. 2018-10-10 19:21:42 +02:00
Download-Fritz
65855f57da OcOverflowLib: Fix cosmetic casting errors.
"Cosmetic" casts which are warned about over being implicit from UINTN to UINT32 (analoguous for their pointers), however their sizes are guaranteed to be equal.
2018-10-10 19:20:54 +02:00
Alex James
e4d55a4f77
OcDevicePropertyLib: Fix bugs reported by Download-Fritz 2018-10-07 12:33:23 -05:00
vit9696
709a88c5f4 Add OcDevicePropertyLib and OcFirmwarePasswordLib 2018-10-07 20:21:12 +03:00
vit9696
ff74b34b42 Externalise ProcessorInfo 2018-10-07 04:33:03 +03:00
vit9696
e8338d8180 Import pico libs 2018-10-07 04:12:17 +03:00
vit9696
bad2be80b4 Add RTC lib 2018-10-06 21:38:08 +03:00
vit9696
f84c7933ab Merge develop verification lib changes by savvas 2018-10-06 20:44:45 +03:00
vit9696
c45e391fe0 Migrate first Oc libs from AppleSupportPkg 2018-10-06 20:38:08 +03:00