18 Commits

Author SHA1 Message Date
Mikhail Krichanov
88ada4d94b Utilities: Assigned default values to PcdUefiImageFormatSupportNonFv
and PcdImageProtectionPolicy, adjusted Policy in tools.
2023-12-07 11:30:51 +03:00
Mikhail Krichanov
43c4931957 User: Defined PcdImageProtectionPolicy for ImageTool in audk, adopted new API. 2023-11-23 14:04:16 +03:00
Mikhail Krichanov
a5d613837b User: Changed PcdUefiImageFormatSupportFv to fix audk uefi-format branch compilation. 2023-11-23 14:02:07 +03:00
Mike Beaton
8d002d7e83 User: Set PcdDebugRaisePropertyMask default value to zero
- Matches recent fix in dbebb53c11
 - Correct usage is for bits here to only ever be manually enabled for specific debugging tasks
2023-11-08 09:27:12 +00:00
Mike Beaton
6d94380499 User: Set PcdImageLoaderRemoveXForWX to TRUE
- Matches value used in OpenCore
 - Allows AppleEfiSignTool to work with W^X error legacy Apple images
Futher work required for AppleEfiSignTool to work with section overlap error images.
2023-11-08 07:26:09 +00:00
Mikhail Krichanov
e8ddb58b27 User: Changed PcdUefiImageFormatSupportFv to fix audk UE branch compilation. 2023-07-19 11:23:58 +03:00
Marvin Häuser
854a026617 [WIP] Expose UE-aware UefiImageFormat PCDs 2023-06-18 16:02:03 +02:00
Savva Mitrofanov
11a2606650 Library: Remove OcPeCoffLib 2023-04-26 11:01:50 +03:00
Savva Mitrofanov
c72c258fca
User: Update ImageLoader PCD tokens 2023-04-14 21:16:02 +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
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
PMheart
27905dd7d7
Utilities: Introduce TestProcessKernel tool for testing kext injection/patching from config, by @mhaeuser (#369) 2022-08-24 11:26:35 +03:00
PMheart
228f8ca1fb Codestyle: Apply codestyle changes with Uncrustify 2022-04-25 14:51:15 +02:00
PMheart
c953fa071d User: Cleanup 2022-04-08 12:19:03 +02: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
2f1043d989
User: Codestyle fix (#175) 2021-01-01 12:44:54 +03:00