47{
48 if (SplitCommand.size() != 1)
49 {
52 return;
53 }
54
55
56
57
59 {
60 ShowMessages(
"nothing to restart, did you use the '.start' command before?\n");
61 return;
62 }
63
64
65
66
68 {
69
70
71
72
74 }
76 {
78
79
80
81
83 }
84
85
86
87
89 {
92 NULL,
94 }
95 else
96 {
101 }
102}
#define FALSE
Definition BasicTypes.h:54
wchar_t WCHAR
Definition BasicTypes.h:32
VOID ShowMessages(const char *Fmt,...)
Show messages.
Definition libhyperdbg.cpp:96
NULL()
Definition test-case-generator.py:530
std::wstring g_StartCommandPathAndArguments
the start arguments used in .start command
Definition globals.h:653
UINT32 g_ProcessIdOfLatestStartingProcess
The process id of the latest starting process.
Definition globals.h:368
VOID CommandRestartHelp()
help of the .restart command
Definition restart.cpp:29
ACTIVE_DEBUGGING_PROCESS g_ActiveProcessDebuggingState
State of active debugging thread.
Definition globals.h:362
std::wstring g_StartCommandPath
the start path used in .start command
Definition globals.h:647
UINT32 ProcessId
Definition ud.h:51
BOOLEAN IsActive
Definition ud.h:49
BOOLEAN UdKillProcess(UINT32 TargetPid)
Kill the target process from kernel.
Definition ud.cpp:666
BOOLEAN UdAttachToProcess(UINT32 TargetPid, const WCHAR *TargetFileAddress, const WCHAR *CommandLine, BOOLEAN RunCallbackAtTheFirstInstruction)
Attach to target process.
Definition ud.cpp:349