401 Commits

Author SHA1 Message Date
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
Mike Beaton
6f25ba4f2c uncrustify: add important brackets 2022-12-16 07:12:22 +00:00
Mike Beaton
a54f035f54 ocvalidate: Allow same tool with different nvram access 2022-12-16 06:10:07 +00:00
Andrey1970AppleLife
48436cb325
Update AppleKeyboardLayouts.txt 2022-12-14 01:06:36 +03:00
Andrey1970AppleLife
e5adf596f2 DataBase: Updated MaximumOSVersion 2022-12-14 00:33:15 +03:00
Vitaly Cheptsov
10fc98fc5d
OcConfigurationLib: Split ShowPicker and HibernateSkipsPicker (#407) 2022-12-06 02:53:35 +03:00
Savva Mitrofanov
3b79c90e0e Utilities: Set 3GB allocation pool limit for TestDiskImage 2022-11-25 20:55:14 +06:00
Savva Mitrofanov
3c9236a4b2
Utilities: Check variables for NULL before FreePool in TestDiskImage 2022-11-25 16:33:55 +06:00
Savva Mitrofanov
5137def394
User: Add DiskIo2 and UnicodeCollation protocol guids into GlobalVar 2022-11-23 19:42:16 +06:00
Savva Mitrofanov
b45fd2571c
Utilities: Extend TestExt4Dxe fuzzer functionality
* Fix memory leaks on fuzzer side in TestExt4Dxe, create common FreeAll 
procedure.
* Extend GetPosition and SetPosition tests in TestExt4Dxe. 
* Implements StriColl function from UnicodeCollation protocol for 
userspace usage. Also provides replacement for origin unicode collation 
driver functions Ext4InitialiseUnicodeCollation and Ext4StrCmpInsensitive
to use this StriColl implementation.
2022-11-23 19:42:15 +06:00
Andrey1970AppleLife
ea49a270eb DataBase: Added MP71Rack AppleModelCode 2022-11-21 20:11:20 +03:00
Ivan Cafiero
998e2f1732
Utilities/macrecovery: Download files to com.apple.recovery.boot by default (#394) 2022-11-20 16:58:01 +03:00
Mykola Grymalyuk
19a87279bb
OcMainLib: Allow hiding Picker when waking from macOS Hibernation (#395) 2022-11-20 12:49:27 +03:00
Stijn Rombouts
90d566b5b4 macrecovery: Switch Latest Version to Mac-B4831CEBD52A0C4C
This makes macrecovery download Ventura instead of Monterey.
2022-11-07 10:31:28 +03:00
Stijn Rombouts
7709eca8c4 macrecovery: Add Monterey Recovery command 2022-11-07 10:31:28 +03:00
Andrey1970AppleLife
e7913267ae Updated builtin firmware versions 2022-10-27 01:07:15 +03:00
PMheart
5566319090 ocvalidate: Add error when injecting BrcmFirmwareRepo
closes https://github.com/acidanthera/bugtracker/issues/2119
2022-10-10 15:33:17 +02:00
MikeBeaton
97691620d8 Utilities: Update LogoutHook/Launchd.command for earlier macOS
- Compatible with earlier macOS (Snow Leopard+ tested)
 - Automatically installs as launch daemon (Yosemite+) or logout hook
2022-10-05 20:10:03 +01:00
Andrey1970AppleLife
9ab2d13dfe DataBase: Updated MaximumOSVersion 2022-09-30 21:22:11 +03:00
PMheart
a8ff963a4c ocvalidate: Fix alphabetical order 2022-09-29 19:07:29 +02:00
Andrey1970AppleLife
b6b66a569f ocvalidate: Added CryptexFixup.kext 2022-09-29 16:31:03 +03:00
Savva Mitrofanov
ab8449b111
Utilities: Fix TestExt4Dxe build after recent Ext4Pkg changes 2022-09-29 13:52:14 +03:00
Andrey1970AppleLife
effb8fe5f0 DataBase: Updated MaximumOSVersion 2022-09-12 20:49:21 +03:00
PMheart
2908a9d87a TestProcessKernel: Fix build 2022-08-24 11:17:36 +02:00
PMheart
27905dd7d7
Utilities: Introduce TestProcessKernel tool for testing kext injection/patching from config, by @mhaeuser (#369) 2022-08-24 11:26:35 +03:00
Ivan Cafiero
d40fe9af15
Build: Fix python warnings (#343) 2022-08-18 15:04:17 +03:00
Savva Mitrofanov
d0721910d9
ocpasswordgen: Hide password characters on input (#380) 2022-08-18 15:00:47 +03:00
Andrey1970AppleLife
875ca5eb3f DataBase: Updated MaximumOSVersion 2022-08-18 01:21:03 +03:00
PMheart
c2942135d2
OcCompressionLib: Update to zlib 1.2.12 (#383) 2022-08-16 17:16:32 +03:00
PMheart
c6ee1930ce Revert "ocvalidate: Drop checks for CPUFriendDataProvider.kext"
This reverts commit 53e407a2e805d4c905854379a1e8a4f94fb78001.
2022-08-10 22:15:57 +02:00
MikeBeaton
14df4ad249 ocvalidate: Require LoadEarly=FALSE on OpenRuntime when OpenVariableRuntimeDxe is not present; remove duplicate driver check 2022-08-10 01:06:20 +01:00
PMheart
53e407a2e8 ocvalidate: Drop checks for CPUFriendDataProvider.kext 2022-08-09 22:34:57 +02:00
PMheart
cc7fec68b2 ocvalidate: Second fix for the checks for LoadEarly
Thanks @vit9696 and @mikebeaton

closes https://github.com/acidanthera/bugtracker/issues/2099#issuecomment-1201557471
2022-08-01 21:15:56 +02:00
PMheart
7a9d179a1d ocvalidate: Fix checks for LoadEarly 2022-08-01 19:26:48 +02:00