You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So when rebuilding that into a dll it can't find the import nor is the export correct.
Removing the _disambig suffix everywhere fixes it (apart from a warning warning LNK4086: entrypoint '__EntryPoint' is not __stdcall with 12 bytes of arguments; image may not run).
Interesting, the _disambig_ is added by the pretty printer to avoid having multiple symbols with the same name. It sounds we should be making an exception for the case where one of the symbols is imported, and the other is locally defined.
Hi, does this issue been solved now? I tried disassemble/reassemble Python windows today, seems when disasasembling python310.dll I saw similar probelm.
Hi @Trass3r would you have the example that you were trying available? That would help me figure out the best approach.
@StarGazerM I am not seeing this issue in python310.dll, which import/export symbol gets the _disambig_ suffix? Can you share the specific .dll where that happens?
Did a quick test on a proxy dll, it struggled a bit with the import and export having the same name and produced:
So when rebuilding that into a dll it can't find the import nor is the export correct.
Removing the _disambig suffix everywhere fixes it (apart from a warning
warning LNK4086: entrypoint '__EntryPoint' is not __stdcall with 12 bytes of arguments; image may not run
).ddisasm 1.5.4 (7026bf2 2022-07-07)
invoked like
ddisasm --asm d.asm --generate-import-libs ..\d.dll ml /nologo /c /Zi d.asm link /nologo /DLL /ENTRY:_EntryPoint /SUBSYSTEM:windows /DEBUG /OPT:REF /OPT:ICF d.obj
The text was updated successfully, but these errors were encountered: