Skip to content

Comments

Support for UefiDecompressLib fuzzing#5

Open
x86-sec wants to merge 1 commit intoIntelLabs:masterfrom
x86-sec:master
Open

Support for UefiDecompressLib fuzzing#5
x86-sec wants to merge 1 commit intoIntelLabs:masterfrom
x86-sec:master

Conversation

@x86-sec
Copy link
Contributor

@x86-sec x86-sec commented Sep 20, 2022

No description provided.

@il-steffen
Copy link
Contributor

Same error, I can build OVMF but not the app:

./run.sh app

[...]
make[1]: Leaving directory '/home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib'
Building ... /home/steffens/kAFL/kafl/targets/uefi_ovmf_64/TestDecompressPkg/TestDecompress.inf [X64]
make[1]: Entering directory '/home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompressPkg/TestDecompress'
cp -p -f /home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompressPkg/TestDecompress/DEBUG/TestDecompress.dll /home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompressPkg/TestDecompress/DEBUG/TestDecompress.debug
objcopy --strip-unneeded -R .eh_frame /home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompressPkg/TestDecompress/DEBUG/TestDecompress.dll
objcopy --add-gnu-debuglink=/home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompressPkg/TestDecompress/DEBUG/TestDecompress.debug /home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompressPkg/TestDecompress/DEBUG/TestDecompress.dll
objcopy: /home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompressPkg/TestDecompress/DEBUG/stQQdWHb: debuglink section already exists
cp -p -f /home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompressPkg/TestDecompress/DEBUG/TestDecompress.debug /home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompress.debug
"GenFw" -e UEFI_APPLICATION -o /home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompressPkg/TestDecompress/OUTPUT/TestDecompress.efi /home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompressPkg/TestDecompress/DEBUG/TestDecompress.dll
GenFw: ERROR 3000: Invalid
  Section address not aligned to its own alignment.
make[1]: *** [GNUmakefile:351: /home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompressPkg/TestDecompress/OUTPUT/TestDecompress.efi] Error 2
make[1]: Leaving directory '/home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompressPkg/TestDecompress'

build.py...
 : error 7000: Failed to execute command
        make tbuild [/home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompressPkg/TestDecompress]

build.py...
 : error F002: Failed to build module
        /home/steffens/kAFL/kafl/targets/uefi_ovmf_64/TestDecompressPkg/TestDecompress.inf [X64, GCC5, DEBUG]

- Failed -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants