I have attached windbg to an application, I then inject a simple .dll which I made.
I use the line
lm
The output is
259b0000 259e5000 Project (deferred)
I then use
0:046> !SaveModule 259b0000 c:\Users\name\Documents\pleasework.dll
With the error:
No export sam found
Could someone please suggest a way to fix this error. Thank you
Edit I made a really stupid mistake I forgot to load SOS.dll I do this then after entering the !sam or !SaveModule command I get this error
Extension commands need clr.dll in order to have something to do.
I try all the sxe ld clr etc. I enter "g" it doesn't break automatically so I break it myself then still get this
.loadby sos clr
Unable to find module 'clr'