Question about `wineboot: Create section objects for known dlls' patch
Mitch Wilkinson <foo.ami(a)yandex.com> writes:
I have a question about patch 81ea1e7a20c (wineboot: Create section objects for known dlls., 2025-03-31) recently landed to `Wine development'.
Do I understand correctly, that create_known_dlls() function initializes (and then clears) internal list of KnownDLLs, creates NT section for each that KnownDLL and its import dependency and then closes all those sections? Thus, effectively create_known_dlls() does nothing -- the dlls list is on its stack anyway, NT sections are created and almost immediately closed. What the purpose of create_known_dlls() function? May be I missed something, sorry, but please explain what happens there.
The section objects are created with OBJ_PERMANENT, so closing them doesn't delete them. -- Alexandre Julliard julliard(a)winehq.org
participants (2)
-
Alexandre Julliard -
Mitch Wilkinson