On Wed Jul 30 04:11:14 2025 +0000, Zhiyi Zhang wrote:
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?
I honestly don't know. There is likely a better way, I suggested storing build module name as it seemed an obvious solution.