47{
   49 
   50    if (SplitCommand.size() != 1 && SplitCommand.size() != 2)
   51    {
   54        return;
   55    }
   56 
   57    
   58    
   59    
   61    {
   62        ShowMessages(
"err, you're not connected to any debuggee\n");
 
   63        return;
   64    }
   65 
   66    if (SplitCommand.size() == 1)
   67    {
   69    }
   70    else if (SplitCommand.size() == 2)
   71    {
   73        {
   74            ShowMessages(
"please specify a correct hex value for the core that you " 
   75                         "want to operate on it\n\n");
   77            return;
   78        }
   79 
   80        
   81        
   82        
   84    }
   85}
unsigned int UINT32
Definition BasicTypes.h:48
BOOLEAN ConvertStringToUInt32(string TextToConvert, PUINT32 Result)
check and convert string to a 32 bit unsigned it and also check for special notations like 0x etc.
Definition common.cpp:347
ULONG g_CurrentRemoteCore
Current core that the debuggee is debugging.
Definition globals.h:263
VOID CommandCoreHelp()
help of the ~ command
Definition core.cpp:26
BOOLEAN g_IsSerialConnectedToRemoteDebuggee
Shows if the debugger was connected to remote debuggee over (A remote guest)
Definition globals.h:231
BOOLEAN KdSendSwitchCorePacketToDebuggee(UINT32 NewCore)
Sends a change core or '~ x' command packet to the debuggee.
Definition kd.cpp:181
VOID ShowMessages(const char *Fmt,...)
Show messages.
Definition libhyperdbg.cpp:96