Unc3nZureD Posted April 28, 2014 Share Posted April 28, 2014 I Would like to call the following WinApi, but I can't find any information related: MiniDumpWriteDump Well, I'm not sure if it's the right thing I need, I'd like to dump a process. Is it going to work, or do I have to read the memory manually? I'm not really good at calling DLLs, I just can't really handle them If anyone needs, here's the MSDN link: http://msdn.microsoft.com/en-us/library/windows/desktop/ms680360.aspx Thanks. Link to comment Share on other sites More sharing options...
FireFox Posted April 28, 2014 Share Posted April 28, 2014 (edited) Wow, that's a lot of structs to do... Here is a start : Local Const $MiniDumpNormal = 0x00000000 Local Const $tagMINIDUMP_EXCEPTION_INFORMATION = "DWORD ThreadId; ptr ExceptionPointers; BOOL ClientPointers" Local Const $tagEXCEPTION_POINTERS = "ptr ExceptionRecord; ptr ContextRecord" Local $tMINIDUMP_EXCEPTION_INFORMATION = DllStructCreate($tagMINIDUMP_EXCEPTION_INFORMATION) Local $tEXCEPTION_POINTERS = DllStructCreate($tagEXCEPTION_POINTERS) DllStructSetData($tMINIDUMP_EXCEPTION_INFORMATION, "ExceptionPointers", DllStructGetPtr($tEXCEPTION_POINTERS)) Please answer so I can remember this thread for tomorrow Edited April 29, 2014 by FireFox Link to comment Share on other sites More sharing options...
Unc3nZureD Posted April 29, 2014 Author Share Posted April 29, 2014 This is a reply! Link to comment Share on other sites More sharing options...
FireFox Posted April 29, 2014 Share Posted April 29, 2014 hm... my au3 file with all the stuff I've done is corrupted with NUL's . Link to comment Share on other sites More sharing options...
Unc3nZureD Posted April 29, 2014 Author Share Posted April 29, 2014 Holy Crap WTF. Are you sure your HDD works well? mLipok 1 Link to comment Share on other sites More sharing options...
FireFox Posted April 29, 2014 Share Posted April 29, 2014 Yeah, it's a VM actually Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now