On Thu Mar 12 06:46:01 2026 +0000, eric pouech wrote:
and to extend Hans' comments: * it looks very unlikely that digest is computed given a list of sections ordered by name; PE image format doesn't imply anything on the name of the sections ; it's a convention adopted by the toolchain you're using * so it's very likely that's the order you've implemented is the default order generated by toolchain you've used * expanding the tests by changing the order of sections shall demonstrate this * and also follow coding style (eg no c++ comments) side note: * current implementation blinding assumes image has same bitness as the DLL, which is wrong (IIRC native always supports 32 and 64bit images) Total rewrite to just walk the sections in order, plus other things discovered in doing that.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10295#note_131931