434 Commits

Author SHA1 Message Date
Mikhail Krichanov
c65fb5bbfd Library: Fixed ImageOrigin types. 2023-11-24 09:42:11 +03:00
Mikhail Krichanov
43c4931957 User: Defined PcdImageProtectionPolicy for ImageTool in audk, adopted new API. 2023-11-23 14:04:16 +03:00
Mike Beaton
b5984a3d30 OcPeCoffExtLib: Add code path to OcPeCoffFixupInitializeContext which generates fixed image context without fixing image in memory
- Required to allow AppleEfiSignTool to verify rare (but actually existing) Apple signed binaries with overlapping section errors
2023-11-20 11:52:03 +00:00
Mike Beaton
941b7c535d AppleEfiSignTool: Update error message 2023-11-19 18:57:31 +00:00
Mike Beaton
87da1b1329
Utilities/OcPeCoffExtLib: Update AppleEfiSignTool to work with new PE COFF loader (#502) 2023-11-15 11:30:05 +00:00
Mike Beton
c0179d3cbf LegacyBoot: Add ARCHS and command line args support to QemuBuild.command 2023-11-12 09:03:09 +00:00
Andrey1970
0be494090c
Update recovery_urls.txt 2023-11-06 21:06:34 +03:00
Angelo Cassano
197618d4c0
macrecovery: Updated recovery_urls.txt (#492) 2023-11-06 20:59:26 +03:00
Mike Beaton
5f15e839f8
OcPeCoffExtLib: Add support for FixupAppleEfiImages quirk (#498) 2023-11-03 11:06:56 +03:00
Andrey1970AppleLife
5edcf84624 DataBase: Updated MaximumOSVersion 2023-09-21 23:53:59 +03:00
Mike Beton
dac51abbab ShimUtils: Convert one more 'own build' to 'user build' 2023-09-11 07:22:47 +01:00
Mike Beaton
1176a8b305 ShimUtils: Rename ShimToCert as ShimUtils; add new tools:
- shim-make.tool
 - sbat-info.tool
 - unsign-efi-sig-list.tool
and update shim-to-cert.tool
2023-09-10 19:25:05 +01:00
Mike Beaton
d3e59e7ef4 ShimToCert: Handle empty certificate section 2023-08-19 14:11:32 +01:00
John Davis
83850a29ef
Implement BlockIoDxe in OpenDuet (#479) 2023-07-23 19:21:53 -05:00
Savva Mitrofanov
53a00be4e3
Utilities: Correct TestFatDxe/TestNtfsDxe fuzzer logic
We need to pass a non-empty buffer into the read routine because
the return code EFI_BUFFER_TOO_SMALL is expected only for directories.
Properly, the right way is to retrieve file size using FatGetInfo or 
FileGetInfo,  but this will significantly slow down the fuzzing process,
that's why we use  100-byte temporary buffer
2023-07-05 15:35:32 +06:00
Savva Mitrofanov
37076c254c
Utilities: Corrects Ext4Read usage and add ext4read tool (#476) 2023-07-03 11:10:26 +03:00
PMheart
5a91bcbc67 Utilities/macrecovery: Switch to python3 by default 2023-07-01 13:38:29 +02:00
Mike Beaton
dc182df42c OcBootManagementLib: Add InstanceIdentifier, and ability to target .contentVisibility to specific instances 2023-06-23 19:54:33 +01:00
Marvin Häuser
055bddf3eb User: Deduplicate ConfigureMemoryAllocations 2023-06-18 16:02:00 +02:00
Mike Beaton
0ad4a318b0 OcConsoleLib: Provide ConsoleFont option
to load custom .hex format console font file
2023-06-11 05:48:55 +01:00
Andrey1970AppleLife
205bbd86f0 DataBase: Updated MaximumOSVersion 2023-06-06 00:53:57 +03:00
Andrey1970AppleLife
2fa977c3e1 DataBase: Updated MaximumOSVersion 2023-06-04 23:48:35 +03:00
Marvin Häuser
d9109c36f1 Properly distinguish between PeCoffLib2 vs UefiImageLib 2023-05-08 11:25:08 +02:00
Marvin Häuser
0fb834bd84 Utilities/TestPeCoff: Properly error-exit on load failure 2023-05-08 10:58:37 +02:00
Mike Beaton
065177ebb9 OcConsoleLib: Apply ConsoleMode console text resolution option to builtin text renderer 2023-05-04 09:59:29 +01:00
Mike Beaton
c1f0b9f169 OcConsoleLib: Implement InitialMode 2023-05-03 22:21:04 +01:00
Andrey1970
3c037b2f26 DataBase: Updated MaximumOSVersion 2023-04-28 17:40:19 +03:00
Savva Mitrofanov
6a064a70af
Utilities/RsaTool: Switch libressl url to fastly cdn 2023-04-26 15:54:53 +03:00
Savva Mitrofanov
2f14b6d30e Utilities/TestPeCoff: Disable DEBUG_RAISE for fuzzing 2023-04-26 11:01:50 +03:00
Savva Mitrofanov
70bb87c7b0 Library: Replace OcPeCoffLib with UefiImageLib 2023-04-26 11:01:50 +03:00
Savva Mitrofanov
b2d438d6f3 Switch OcGuardLib to BaseOverflowLib 2023-04-13 13:16:14 +06:00
CaseySJ
4bd9343ded
OcAppleKernelLib: Add DisableIoMapperMapping quirk (#440) 2023-04-06 01:55:53 +03:00
PMheart
41b8aca08b
OcCompressionLib: Update to zlib 1.2.13 (#439) 2023-04-02 08:31:16 +02:00
Andrey1970
7fa535797e Updated builtin firmware versions 2023-03-28 01:14:38 +03:00
Savva Mitrofanov
4c19125820 Utilities: Corrects missing memory allocation checks in TestNtfsDxe 2023-03-07 21:28:51 +06:00
Savva Mitrofanov
344a2080b2 User: Adds UserUnicodeCollation library
Dedicates unicode collation protocol functions into separate user
library to prevent code duplication across several user utilities
2023-03-07 21:28:51 +06:00
Savva Mitrofanov
4ff857dcc9 Utilities: Adds test tool for EnhancedFatDxe driver 2023-03-07 21:28:51 +06:00
Andrey1970AppleLife
494733f45c DataBase: Updated MaximumOSVersion 2023-02-16 17:43:09 +03:00
Andrey1970AppleLife
8d2c1292fa Added EmeraldSDHC.kext 2023-02-02 20:09:25 +03:00
Andrey1970AppleLife
fe7ce129a9 Updated builtin firmware versions 2023-01-24 02:51:28 +03:00
Savva Mitrofanov
40dfc3a438
Utilities: Correct SetPosition call in TestExt4Dxe 2023-01-12 13:46:19 +03:00
Savva Mitrofanov
b15983a9dc
Utilities: Call Ext4OpenPartition in TestExt4Dxe
Implements override for gBS->InstallMultipleProtocolInterfaces function,
to call Ext4OpenPartition routine from Ext4Dxe driver which should open
SuperBlock and allocates EXT4_PARTITION structure instead of doing it
manual in fuzzer itself. Also adds Ext4SuperblockCheckMagic call which
used in Ext4IsBindingSupported procedure
2023-01-12 13:46:18 +03:00
Savva Mitrofanov
bec86b4ace
Utilities: Extend TestExt4Dxe functionality
Trying to open file with different modes in loop (read, write, create).
Adds memory allocation mutations based on given allocation mask
to imitate allocation errors. This change should increase code coverage
by reaching branches with memory allocation error
2023-01-12 13:46:17 +03:00
Savva Mitrofanov
0e2e729e5f
Utilities: Adds Linux support into LegacyBoot boot install script 2023-01-06 12:50:21 +06:00
Savva Mitrofanov
81afba4426
Utilities: Correct QemuBuild.command formatting 2022-12-31 00:18:13 +06:00
Savva Mitrofanov
13fa5f97ea
Build: Compiles BaseTools instead of using prebuilt ones in build_duet
This should fix a problem with Linux platform which uses ELF binaries
which doesn't support multiarchitecture format like FAT. First of
all it fixes DUET build on Apple Silicon platforms
2022-12-30 18:25:08 +06:00
Savva Mitrofanov
68c05b5c40 Utilities: Corrects QemuBuild.command for Linux
Add missing packages check and assumes to run this script as root.
Also we need to create partition table on raw image image before
invoking disk mount using qemu-nbd tool.
2022-12-28 16:53:43 +03:00
Mikhail Krichanov
84c6bc980d Utilities: Added QemuBuild.commands for Linux. 2022-12-28 12:08:46 +03:00
Andrey1970AppleLife
02b938f1a3 2023 2022-12-28 01:17:50 +03:00
vit9696
d60b94d567 Utilities: Fix shellcheck warnings 2022-12-22 13:44:21 +03:00