45{
   46    if (SplitCommand.size() != 1)
   47    {
   50        return;
   51    }
   52 
   54    {
   55        ShowMessages(
"you're not connected to any instance of HyperDbg, did you " 
   56                     "use '.connect'? \n");
   57        return;
   58    }
   59 
   60    
   61    
   62    
   63    
   65    {
   66        ShowMessages(
"you cannot disconnect in local debugging while the " 
   67                     "driver is still loaded. please use 'unload' command before "
   68                     "disconnecting from the current instance of debugger\n");
   69        return;
   70    }
   71 
   72    
   73    
   74    
   76 
   77    
   78    
   79    
   81    {
   82        
   83        
   84        
   85        
   90 
   92 
   94    }
   95 
   97}
#define FALSE
Definition BasicTypes.h:54
BOOLEAN g_IsConnectedToRemoteDebuggee
Shows whether the current debugger is the host and connected to a remote debuggee (guest)
Definition globals.h:74
HANDLE g_RemoteDebuggeeListeningThread
In debugger (not debuggee), we save the ip of server debuggee in this variable to use it later e....
Definition globals.h:124
VOID CommandDisconnectHelp()
help of the .disconnect command
Definition disconnect.cpp:28
HANDLE g_EndOfMessageReceivedEvent
Handle to if the end of the message received (for showing signature)
Definition globals.h:137
BOOLEAN g_IsConnectedToHyperDbgLocally
Shows whether the user is allowed to use 'load' command to load modules locally in VMI (virtual machi...
Definition globals.h:67
HANDLE g_DeviceHandle
Holds the global handle of device which is used to send the request to the kernel by IOCTL,...
Definition globals.h:471
VOID ShowMessages(const char *Fmt,...)
Show messages.
Definition libhyperdbg.cpp:96
NULL()
Definition test-case-generator.py:530
int RemoteConnectionCloseTheConnectionWithDebuggee()
Close the connect from client side to the debuggee.
Definition remote-connection.cpp:504