51{
52 if (CommandTokens.size() != 2)
53 {
54 ShowMessages("incorrect use of the '%s'\n\n",
57 return;
58 }
59
61 {
62 ShowMessages("you're not connected to any instance of HyperDbg, did you "
63 "use '.connect'? \n");
64 return;
65 }
66
67
68
69
71 {
72
73
74
75 ShowMessages("loading the all modules\n");
76
78 {
79 ShowMessages("failed to install or load drivers\n");
80 return;
81 }
82
83
84
85
86
87
88
89
91 }
94 {
95
96
97
99 {
100 ShowMessages("the vmm module is already running, if you use 'load' before, please "
101 "first unload it using the 'unload' command\n");
102 return;
103 }
104
105
106
107
108 ShowMessages("loading the vmm module\n");
109
111 {
112 ShowMessages("failed to install or load the driver\n");
113 return;
114 }
115
116
117
118
119
120
121
122
124 }
127 {
128
129
130
132 {
133 ShowMessages("the trace module is already running, if you use 'load' before, please "
134 "first unload it using the 'unload' command\n");
135 return;
136 }
137
138
139
140
141 ShowMessages("loading the trace module\n");
142
144 {
145 ShowMessages("failed to install or load the driver\n");
146 return;
147 }
148 }
155 {
156
157
158
160 {
161 ShowMessages("the kd module is already running, if you use 'load' before, please "
162 "first unload it using the 'unload' command\n");
163 return;
164 }
165
166
167
168
169 ShowMessages("loading the kd module\n");
170
172 {
173 ShowMessages("failed to install or load the driver\n");
174 return;
175 }
176 }
177 else
178 {
179
180
181
182 ShowMessages("err, module not found\n");
183 }
184}
std::string GetCaseSensitiveStringFromCommandToken(CommandToken TargetToken)
Get case sensitive string from command token.
Definition common.cpp:467
BOOLEAN CompareLowerCaseStrings(CommandToken TargetToken, const CHAR *StringToCompare)
Compare lower case strings.
Definition common.cpp:503
BOOLEAN g_IsConnectedToHyperDbgLocally
Shows whether the user is allowed to use 'load' command to load modules locally in VMI (virtual machi...
Definition globals.h:89
BOOLEAN g_IsHyperTraceModuleLoaded
shows whether the HyperTrace module is loaded or not
Definition lbrdump.cpp:19
INT HyperDbgLoadAllModules()
load all modules (KD, VMM, HyperTrace, etc.)
Definition libhyperdbg.cpp:908
BOOLEAN g_IsKdModuleLoaded
shows whether the kernel debugger (KD) module is loaded or not
Definition globals.h:22
INT HyperDbgInstallKdDriver()
Install KD (Kernel Debugger) driver.
Definition libhyperdbg.cpp:81
INT HyperDbgLoadHyperTraceModule()
load hypertrace module
Definition libhyperdbg.cpp:838
INT HyperDbgLoadVmmModule()
load vmm module
Definition libhyperdbg.cpp:749
BOOLEAN g_IsVmmModuleLoaded
shows whether the VMM module is loaded or not
Definition globals.h:28
INT HyperDbgLoadKdModule()
load kd module
Definition libhyperdbg.cpp:665
VOID CommandLoadHelp()
help of the load command
Definition load.cpp:28
BOOLEAN SymbolLocalReload(UINT32 UserProcessId)
Locally reload the symbol table.
Definition symbol.cpp:49