c# - Is it possible to export/dump a DLL from process memory to file? -
first off aware of 1. is possible export dll definition appdomain? 2. is possible save dynamic assembly disk? 3. how can extract dll file memory dump?
but none of seem answer question particularly.
consider following scenario: c# application loads dll memory stream (so dll isn't directly exposed user). there tool explicitly allows dumping or exporting particular dll memory disk in original form?
note: i'd show me full step-by-step procedure of extracting intact dll memory dump of c# application.
windbg managed debugging extensions capable of trick. first, download windbg (google microsoft debugging tools windows
, not standalone download, parts of other kits).
the next part installing psscor2
extension (from https://www.microsoft.com/en-us/download/details.aspx?id=1073) , extract folder windbg located.
next, run program , attach windbg (its in menu). type following commands:
.load psscor2
!saveallmodules c:\modules\
find module want , enjoy.
Comments
Post a Comment