HyperDbg Debugger
Loading...
Searching...
No Matches
bl.cpp File Reference

bl command More...

#include "pch.h"

Functions

VOID CommandBlHelp ()
 help of the bl command
VOID CommandBl (vector< CommandToken > CommandTokens, string Command)
 handler of the bl command

Variables

BOOLEAN g_IsSerialConnectedToRemoteDebuggee
 Shows if the debugger was connected to remote debuggee over (A remote guest).

Detailed Description

bl command

Author
Sina Karvandi (sina@.nosp@m.hype.nosp@m.rdbg..nosp@m.org)
Version
0.1
Date
2021-03-11

Function Documentation

◆ CommandBl()

VOID CommandBl ( vector< CommandToken > CommandTokens,
string Command )

handler of the bl command

Parameters
CommandTokens
Command
Returns
VOID
42{
44
45 //
46 // Validate the commands
47 //
48 if (CommandTokens.size() != 1)
49 {
50 ShowMessages("incorrect use of the '%s'\n\n",
51 GetCaseSensitiveStringFromCommandToken(CommandTokens.at(0)).c_str());
53 return;
54 }
55
56 //
57 // Check if the remote serial debuggee is paused or not (connected or not)
58 //
60 {
61 //
62 // Perform listing breakpoint
63 //
65
66 //
67 // Send the request
68 //
70 ShowMessages("\n");
71 }
72 else
73 {
74 ShowMessages("err, listing breakpoints is only valid if you connected to "
75 "a debuggee in debugger-mode\n");
76 }
77}
BOOLEAN g_IsSerialConnectedToRemoteDebuggee
Shows if the debugger was connected to remote debuggee over (A remote guest).
Definition globals.h:253
VOID CommandBlHelp()
help of the bl command
Definition bl.cpp:25
struct _DEBUGGEE_BP_LIST_OR_MODIFY_PACKET DEBUGGEE_BP_LIST_OR_MODIFY_PACKET
The structure of breakpoint modification requests packet in HyperDbg.
@ DEBUGGEE_BREAKPOINT_MODIFICATION_REQUEST_LIST_BREAKPOINTS
Definition RequestStructures.h:1541
std::string GetCaseSensitiveStringFromCommandToken(CommandToken TargetToken)
Get case sensitive string from command token.
Definition common.cpp:467
BOOLEAN KdSendListOrModifyPacketToDebuggee(PDEBUGGEE_BP_LIST_OR_MODIFY_PACKET ListOrModifyPacket)
Sends a breakpoint list or modification packet to the debuggee.
Definition kd.cpp:1198
DEBUGGEE_BREAKPOINT_MODIFICATION_REQUEST Request
Definition RequestStructures.h:1555

◆ CommandBlHelp()

VOID CommandBlHelp ( )

help of the bl command

Returns
VOID
26{
27 ShowMessages("bl : lists all the enabled and disabled breakpoints.\n\n");
28
29 ShowMessages("syntax : \tbl\n");
30}

Variable Documentation

◆ g_IsSerialConnectedToRemoteDebuggee

BOOLEAN g_IsSerialConnectedToRemoteDebuggee
extern

Shows if the debugger was connected to remote debuggee over (A remote guest).