Re: [edk2-discuss] GSoC Proposal
Hi All,
Pedro is 100% correct. The primary use case and the reason I added this is to remove library duplication across all the .efi files. This is actually super valuable because LZMA compression is becoming ineffective because compiler optimization is getting so good that the patterns for a library across binaries don’t match very well anymore. For XIP PEI code… it will really help and would be very timely since the transition of PEI from 32-bit to 64-bit is going to increase the size of PEI by ~20%.
Thanks, Nate
From: Pedro Falcato <pedro.falcato@...>
Hi Marvin, Ada,
Some comments:
I don't think the purpose of the dynamic linker is to treat EFI as a complete operating system, but to try to eliminate the static linking that may be needlessly duplicating code that could instead be put in a single dynamic library. For instance, MdePkg and MdeModulePkg are linked into a *lot* of .efi, instead of being just a library. It'd be nice to see some numbers on this (something like Google's bloaty could be run on every .efi file, in order to understand how much file space we would actually save).
Other comments inline.
On Wed, Apr 13, 2022 at 4:15 PM Marvin Häuser <mhaeuser@...> wrote:
Note: fuzzing is also part of the LLVM instrumentation suite (see https://llvm.org/docs/LibFuzzer.html) and is something I could happily mentor.
Is Vitaly going to be a mentor? I was assuming it was going to be me and some other, more senior, mentor (possibly Steven Shi, which I included in the task). Anyway, re: ASAN, if the project includes ASAN, UBSAN and possibly some other sanitizer it's quite possible that it could be considered a large project (which means more hours but a larger stipend too). Fuzzing + coverage could be very nice additions to this project idea. Also, is stress-testing a decent idea?
Pedro Falcato
|
|