57 Commits

Author SHA1 Message Date
Savva Mitrofanov
1a9a40bf74 User: Implements runtime GetTime function in UserBootServices 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
7a4bc7395e
User: Adds PcdFatReadOnlyMode feature flag token 2023-02-27 14:38:05 +06:00
Mikhail Krichanov
da447f6926 User: Added PcdDebugRaisePropertyMask. 2023-02-27 10:02:38 +03:00
Savva Mitrofanov
a0a25e597c
User: Corrects CalculateCrc32
We need to create proper wrapper like it done in
RuntimeDriverCalculateCrc32
2023-02-22 16:59:59 +06:00
Savva Mitrofanov
f9e1f64666
User: Adds DummyRestoreTPL and CalculateCrc32 to gBS 2023-02-22 16:47:14 +06:00
Marvin Häuser
bba89ba527
User: Fix bogus FreePages() abort 2023-02-04 23:19:02 +01:00
Savva Mitrofanov
6d20d2d56f User: Corrects ASSERT behavior in UserPcd
The CpuBreakPoint in UserMisc normally shouldn't enter dead-loop
condition, instead it should break the program using abort signal. Also
sets DEBUG_PROPERTY_ASSERT_BREAKPOINT_ENABLED bit by default in
PcdDebugPropertyMask. As a background was a problem with fuzzing when
program process falls into dead-loop condition instead of just to exit
with crash
2023-01-12 13:41:53 +03:00
vit9696
092af5d99c Build: Make PE loader strip X bit in WX sections
This is required to support Apple-made images that have .data with RWX
permissions. Found in EfiBoot, APFS, HFS, ExFat, etc.

closes acidanthera/bugtracker#2190
2023-01-04 21:43:10 +03:00
vit9696
eb1347c77c User: Please macOS compiler 2023-01-02 20:49:40 +03:00
vit9696
9e81ed82f3 User: Please analysers 2023-01-02 20:17:32 +03:00
vit9696
6055ec7b43 User: Fix compilation 2023-01-02 20:13:14 +03:00
Mikhail Krichanov
c4c6939db7 User: Refactored UserWriteFile(). 2022-12-28 12:11:55 +03:00
Mikhail Krichanov
1a8f88bbd2 User: Windows compilation fixes. 2022-12-28 12:11:36 +03:00
Mikhail Krichanov
b139e3a07d User: Added IsZeroGuid(). 2022-12-28 12:11:23 +03:00
Savva Mitrofanov
5c2c72febc User: Add pool allocation size configurable limits for UserBaseMemoryLib
To improve for example handling of OOM-states during fuzzing we provides
options to limit maximum size of single allocation operation. Extends
checks for Free operations and integer underflow/overflow handling.
2022-11-25 20:55:14 +06:00
Savva Mitrofanov
5137def394
User: Add DiskIo2 and UnicodeCollation protocol guids into GlobalVar 2022-11-23 19:42:16 +06: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
MikhailKrichanov
e9136a3a0b
OpenNtfsDxe: Implement NTFS read-only driver. (#332) 2022-05-15 00:55:52 +03:00
PMheart
228f8ca1fb Codestyle: Apply codestyle changes with Uncrustify 2022-04-25 14:51:15 +02:00
PMheart
d5d108e090 User: Improved UserReadFile error-checking 2022-04-23 10:06:13 +02:00
PMheart
a732151282 TestImg4: Convert to EDK-II codestyle 2022-04-22 09:14:05 +02:00
MikhailKrichanov
56f43b771d
Utilities: Fixed buggy libFuzzer merge, which could skip new entries that increase coverage. (#333) 2022-04-20 21:48:07 +03:00
PMheart
1ca2a9553f
OcAppleKernelLib: Added CustomPciSerialDevice quirk (#331) 2022-04-14 12:58:37 +02:00
PMheart
292b7c91e8 User: Fix typo 2022-04-09 15:38:39 +02:00
PMheart
c953fa071d User: Cleanup 2022-04-08 12:19:03 +02:00
MikhailKrichanov
3f930d0f04
UserBaseMemoryLib: Fixed buggy rounding for UINT64. (#329) 2022-03-29 22:07:18 +02:00
vit9696
9efcabc623 User: Fix previous commit 2022-02-04 01:30:29 +03:00
vit9696
26e7c75afa User: Backport allocation failure generator 2022-02-04 01:23:37 +03:00
vit9696
0332b9f57e User: Fix EDK II dependency for UserFile.c 2022-02-03 23:11:57 +03:00
vit9696
e0701fbdae User: Provide more robust PE example and memory support 2022-02-03 22:18:26 +03:00
MikeBeaton
22cfebdf6f Platform: OpenLinuxBoot.efi 2021-09-04 15:48:36 +01:00
dakanji
dee3ff5ef5
OcFileLib: Standardise Function Names (#287) 2021-08-31 10:33:34 +03:00
PMheart
ee4c736462 User: Fix build 2021-06-16 10:24:55 +08:00
MikhailKrichanov
edb8a647d5
OcCryptoLib: Add AVX-acceleration of SHA-512 and SHA-384 (#252) 2021-04-19 15:03:18 +03:00
vit9696
19890ef3a5 User: Add missing dummy function 2021-04-10 16:38:09 +03:00
Marvin Häuser
9452be4b7e OpenCanopy: Move absolute pointer querying to timed event
Removes pointer update concurrency and absolute pointer input lag.
2021-03-20 19:42:08 +01:00
Marvin Häuser
31129295c3 OcCpuLib: Initial import of OcAtomicPreIncUint8 2021-03-19 22:46:09 +01:00
vit9696
d381c87769 User: Add missing guid 2021-03-13 01:28:29 +03:00
PMheart
ca8046be27
OcCpuLib: Implement TSC frequency reading from Apple Platform Info (#233) 2021-03-12 19:26:23 +08:00
Marvin Häuser
ae76a3f64d User: Introduce UserPseudoRadom 2021-02-27 18:18:44 +01:00
vit9696
8db317ca84 User: Fix 0-size file support in UserFileRead 2021-02-21 16:51:34 +03:00
vit9696
fee74c397f User: Add sanitize checking macro 2021-02-16 12:37:01 +03:00
Vitaly Cheptsov
f1eeae455f
OcPeCoffExtLib: Use OcPeCoffLib for image verification (#186)
REF: https://github.com/mhaeuser/ISPRASOpen-SecurePE
closes acidanthera/bugtracker#1273
2021-02-01 19:32:54 +03:00
PMheart
c587791188 User: Fix CPUID on non-x86 platforms
closes https://github.com/acidanthera/bugtracker/issues/1421
2021-01-08 13:35:27 +08:00
PMheart
2f1043d989
User: Codestyle fix (#175) 2021-01-01 12:44:54 +03:00
Michael Belyaev
d815a83be0
OpenCanopy: Basic audio assist support (#74)
Co-authored-by: Michael Belyaev <usrsse2@me.com>
Co-authored-by: vit9696 <vit9696@users.noreply.github.com>
2020-12-16 23:03:11 +03:00
Hiep Bao Le
293d85fdd8
Use str as output filename (#120)
closes https://github.com/acidanthera/bugtracker/issues/1163
2020-09-18 14:43:14 +08:00
Download-Fritz
a97b74e83c
OpenCore: Use direct PE loading for Secure Boot (#108)
Implement and integrate a PE image loader to circumvent UEFI Secure Boot when Apple Secure Boot is used.
2020-08-24 12:52:34 +02:00
vit9696
459a769f83 OpenCoreUefi: Add immutablekernel loading support
references acidanthera/bugtracker#1071
2020-08-09 23:11:00 +03:00