Changeset 92245 in vbox
- Timestamp:
- Nov 5, 2021 11:40:02 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/win/init-win.cpp
r91605 r92245 43 43 #include <iprt/log.h> 44 44 #include <iprt/param.h> 45 #include <iprt/process.h> 45 46 #include <iprt/string.h> 46 47 #include <iprt/thread.h> … … 574 575 if (pLogger) 575 576 { 576 RTLogLogger(pLogger, NULL, "\n!!! rtR3WinUnhandledXcptFilter caught an exception on thread %p!!!\n", RTThreadNativeSelf()); 577 RTLogLogger(pLogger, NULL, "\n!!! rtR3WinUnhandledXcptFilter caught an exception on thread %p in %u !!!\n", 578 RTThreadNativeSelf(), RTProcSelf()); 577 579 578 580 /* … … 800 802 } 801 803 } 804 805 /* 806 * Dump the command line if we have one. We do this last in case it crashes. 807 */ 808 PRTL_USER_PROCESS_PARAMETERS pProcParams = pPeb->ProcessParameters; 809 if (RT_VALID_PTR(pProcParams)) 810 { 811 if (RT_VALID_PTR(pProcParams->CommandLine.Buffer) 812 && pProcParams->CommandLine.Length > 0 813 && pProcParams->CommandLine.Length <= pProcParams->CommandLine.MaximumLength 814 && !(pProcParams->CommandLine.Length & 1) 815 && !(pProcParams->CommandLine.MaximumLength & 1)) 816 RTLogLogger(pLogger, NULL, "PEB/CommandLine: %.*ls\n", 817 pProcParams->CommandLine.Length / sizeof(RTUTF16), pProcParams->CommandLine.Buffer); 818 } 802 819 } 803 820 }
Note:
See TracChangeset
for help on using the changeset viewer.