On Tue Oct 18 15:31:21 2022 +0000, Jinoh Kang wrote:
Then what happens here if `find_ordinal_export` finds another
transitive forwarded export? Should we still keep the same `current_modref`? Yes, we should. The importer DLL references the eventual DLL the target object resides in, not any of the intermediate DLL in the forward chain.
Should we add the second forwarded module to the first one
dependencies instead? No, we should only add the last non-forwarding module to the importer DLL's dependencies.
Also note that the forward[1-3] DLLs are exactly designed to test transitively forwarded exports.