31534 Commits

Author SHA1 Message Date
Savva Mitrofanov
87db4230b3 ImageTool: Add debug symbols path argument
We need to have the ability to put custom path with binary containing
debug symbols into ImageTool, because currently it uses the path to
stripped binary without debug symbols

Signed-off-by: Savva Mitrofanov <savvamtr@gmail.com>
2023-08-30 17:52:55 +03:00
Mike Beaton
0d546b92f5 Revert "OvmfPkg: Update build.sh to allow building OVMF then
running QEMU"

This reverts commit 173a7a7daaad560cd69e1000faca1d2b91774c46.

Fixes https://bugzilla.tianocore.org/show_bug.cgi?id=4528
2023-08-24 06:03:03 +01:00
Mike Beaton
89eade0814 MdeModulePkg/HiiDatabase: Fix incorrect AllocateCopyPool size 2023-08-24 05:36:27 +01:00
Mikhail Krichanov
e1ad43aec3 OvmfPkg: Increased SECFV_SIZE at FVMAIN_COMPACT's expense to fix CLANGPDB compilation. 2023-07-24 15:38:24 +03:00
Mikhail Krichanov
ea68fcb9c9 Build: Upgraded OpenCorePkg. 2023-07-24 10:26:14 +03:00
Mikhail Krichanov
1280e9297d Build: Upgraded OpenCorePkg. 2023-07-19 13:45:31 +03:00
Mikhail Krichanov
3de0068495 Docs: Updated README.md. 2023-07-19 13:45:31 +03:00
Mikhail Krichanov
9e271a198c BaseUefiImageLib: Ignore warning C4204: nonstandard extension used: non-constant aggregate initializer. 2023-07-19 13:45:31 +03:00
Mikhail Krichanov
2db06cc287 CI: Fixed Windows build failure
Accept current version of iasl from choco
2023-07-19 13:45:31 +03:00
Mikhail Krichanov
a30e19790a BaseTools/tools_def: Deduplicate DLINK_FLAGS from CC_FLAGS 2023-07-19 13:45:31 +03:00
Marvin Häuser
4e195e53e5 BaseTools/build_rule: Always pass CC_FLAGS to DLINK 2023-07-19 13:45:31 +03:00
Mikhail Krichanov
6257e37e09 MdePkg: Fixed compilation. 2023-07-19 13:45:31 +03:00
Mikhail Krichanov
ea43155693 Build: Switched OpenCore to UE branch. 2023-07-19 13:45:31 +03:00
Marvin Häuser
6bae938f40 ImageTool: Prefer AllocateCopyPool() 2023-07-19 13:45:31 +03:00
Marvin Häuser
329772c824 ImageTool/DynamicBuffer: Optimize branching behaviour 2023-07-19 13:45:31 +03:00
Marvin Häuser
db7b4da183 ImageTool/PeEmit: Force-terminate section names 2023-07-19 13:45:31 +03:00
Marvin Häuser
6a22eca730 ImageTool: Fix memory leaks 2023-07-19 13:45:31 +03:00
Marvin Häuser
ca23202d18 ImageTool: Drop redundant FIXMEs 2023-07-19 13:45:31 +03:00
Marvin Häuser
5644ad0827 ImageTool: Drop FIXME to ensure canonical semantics 2023-07-19 13:45:31 +03:00
Marvin Häuser
58beecb7b0 MdePkg/UefiImageLib: Rename "PreferredAddress" to "BaseAddress" 2023-07-19 13:45:31 +03:00
Marvin Häuser
5055709a2c MdePkg/UefiImageLib: Deprecate GetImageSizeInplace() 2023-07-19 13:45:31 +03:00
Marvin Häuser
fee5405eaf BaseTools/CommonLib: Replace aligned_alloc with posix_memalign 2023-07-19 13:45:31 +03:00
Marvin Häuser
952fc318ce ImageTool: Support disabling ELF as source format 2023-07-19 13:45:31 +03:00
Marvin Häuser
fd940ff6df ImageTool: Disable unused ARM reloc type 2023-07-19 13:45:31 +03:00
Marvin
08672ed0d4 ImageTool: Fix assertions 2023-07-19 13:45:31 +03:00
Marvin
c5e36c7b7e ImageTool: Remove unused code 2023-07-19 13:45:31 +03:00
Marvin
baded9d1f9 ImageTool: Emit granular status for UefiImage IR construction 2023-07-19 13:45:31 +03:00
Marvin
e234e4ea63 ImageTool: Exclusively use OC/User allocators 2023-07-19 13:45:31 +03:00
Marvin Häuser
5fb01f8f29 ImageTool: Enforce reloc disjointness 2023-07-19 13:45:31 +03:00
Marvin Häuser
b25125e0e1 ImageTool: Handle image address overflows 2023-07-19 13:45:31 +03:00
Marvin Häuser
78703654d8 ImageTool: Remove argument asserts 2023-07-19 13:45:31 +03:00
Marvin Häuser
f374c858df ImageTool: Check HeaderInfo 2023-07-19 13:45:31 +03:00
Marvin Häuser
31c0046cbe ImageTool: Fix memory leaks 2023-07-19 13:45:31 +03:00
Marvin Häuser
d5eb795bc9 ImageTool: Fix compiler and fuzzer warnings 2023-07-19 13:45:31 +03:00
Marvin Häuser
dd8a4d1f82 ImageTool: Replace raise() with DEBUG_RAISE() 2023-07-19 13:45:31 +03:00
Marvin Häuser
4166d3ffd3 ImageTool: Support XIP configuration 2023-07-19 13:45:31 +03:00
Marvin Häuser
8957da50bb ImageTool: Update relocation logic 2023-07-19 13:45:31 +03:00
Marvin Häuser
8db3b2a6a2 ImageTool: Ensure PE section names are terminated 2023-07-19 13:45:31 +03:00
Marvin Häuser
e239aed80d ImageTool: Update RelocateImage internal prototype 2023-07-19 13:45:31 +03:00
Mikhail Krichanov
c6265d1374 MdePkg/UefiImageLib: Introduce DebugAddress
Signed-off-by: Marvin Häuser <mhaeuser@posteo.de>
2023-07-19 13:45:31 +03:00
Marvin Häuser
d1d136dfcd MdePkg/BasePeCoffLib2: Slight adjustments 2023-07-19 13:45:31 +03:00
Marvin Häuser
24c3bf2c4b ImageTool: Rework PeEmit with dynamically-growing buffers 2023-07-19 13:45:31 +03:00
Mikhail Krichanov
f84c36f7ea MdePkg/UefiImageLib: Support multi-format and multi-source architecture
Signed-off-by: Marvin Häuser <mhaeuser@posteo.de>
2023-07-19 13:45:31 +03:00
Marvin Häuser
832bf1df71 MdeModulePkg/DxeCore: Re-use ImageIsFromFv for memory protection 2023-07-19 13:45:31 +03:00
Marvin Häuser
3a50f54cab MdeModulePkg/DxeCore: Check FileAuthenticationStatus for caller buffers 2023-07-19 13:45:31 +03:00
Marvin Häuser
4a541b7183 Remove unused dependencies on UefiImageLib 2023-07-19 13:45:31 +03:00
Marvin Häuser
c36bf0ae08 MdeModulePkg/UefiBootManagerLib: Do not parse the UEFI image 2023-07-19 13:45:31 +03:00
Marvin Häuser
1e673c4935 SecurityPkg/Tcd2Dxe: Fix UefiImage initialization 2023-07-19 13:45:31 +03:00
Mikhail Krichanov
8aac54287a Build: Upgraded OpenCorePkg. 2023-07-07 13:44:21 +03:00
Mikhail Krichanov
fbcfdbc069 CI: Fixed nolto tests. 2023-07-07 13:06:11 +03:00