On Mon Jul 28 15:15:36 2025 +0000, Nikolay Sivov wrote:
Yes, loader changes is my biggest concern.
If we want to pursue the builtin signature extension approach. I guess we can store the builtin DLL name (MAGIC+NAME_LENGTH+NAME to be specific) right after the 32bytes of the builtin signature. Then we only need to change output_pe_file() in winebuild/spec32.c to write the builtin DLL name and get_image_params() in server/mapping.c to read the builtin DLL name. The builtin DLL name can then be passed to find_builtin_dll(). Other places that uses the builtin signature don't have to be changed because the original signature is untouched.
What do you think of this?