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< string > SplitCommand, 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< string > SplitCommand,
string Command )

handler of the bl command

Parameters
SplitCommand
Command
Returns
VOID
41{
43
44 //
45 // Validate the commands
46 //
47 if (SplitCommand.size() != 1)
48 {
49 ShowMessages("incorrect use of the 'bl'\n\n");
51 return;
52 }
53
54 //
55 // Check if the remote serial debuggee is paused or not (connected or not)
56 //
58 {
59 //
60 // Perform listing breakpoint
61 //
63
64 //
65 // Send the request
66 //
68 ShowMessages("\n");
69 }
70 else
71 {
72 ShowMessages("err, listing breakpoints is only valid if you connected to "
73 "a debuggee in debugger-mode\n");
74 }
75}
@ DEBUGGEE_BREAKPOINT_MODIFICATION_REQUEST_LIST_BREAKPOINTS
Definition RequestStructures.h:1078
BOOLEAN g_IsSerialConnectedToRemoteDebuggee
Shows if the debugger was connected to remote debuggee over (A remote guest)
Definition globals.h:231
VOID CommandBlHelp()
help of the bl command
Definition bl.cpp:25
BOOLEAN KdSendListOrModifyPacketToDebuggee(PDEBUGGEE_BP_LIST_OR_MODIFY_PACKET ListOrModifyPacket)
Sends a breakpoint list or modification packet to the debuggee.
Definition kd.cpp:1023
VOID ShowMessages(const char *Fmt,...)
Show messages.
Definition libhyperdbg.cpp:96
The structure of breakpoint modification requests packet in HyperDbg.
Definition RequestStructures.h:1090
DEBUGGEE_BREAKPOINT_MODIFICATION_REQUEST Request
Definition RequestStructures.h:1092

◆ 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)