61{
63 string SymbolServer;
64
65
66
67
68 if (CommandTokens.size() >= 4)
69 {
70 ShowMessages("incorrect use of the '%s'\n\n",
73 return;
74 }
75
76
77
78
80 {
81 ShowMessages("the tracking mechanism is only supported in Debugger Mode\n");
82 return;
83 }
84
85
86
87
89 {
90 ShowMessages("it is recommended to configure the symbol path '.sympath' and load "
91 "symbols before using the '!track' command command to obtain results with function "
92 "names\n");
93 }
94
95
96
97
102
103
104
105
107
108
109
110
111 for (auto Section : CommandTokens)
112 {
114 {
115 continue;
116 }
117
118
119
120
122 {
123 continue;
124 }
126 {
127
128
129
131 }
133 {
135 }
136 else
137 {
138 ShowMessages("err, couldn't resolve error at '%s'\n\n",
140 return;
141 }
142 }
143
144
145
146
148 {
149
150
151
153
154 for (SIZE_T i = 0; i < StepCount; i++)
155 {
156
157
158
159
160
161
162
163
164
165
167
169 {
171
172
173
174
176
177 ShowMessages("\n");
178 }
179
180
181
182
184 {
185 break;
186 }
187 }
188
189
190
191
193 }
194 else
195 {
196 ShowMessages("err, tracking is not valid in the current context, you "
197 "should connect to a debuggee\n");
198 }
199}
BOOLEAN g_IsSerialConnectedToRemoteDebuggee
Shows if the debugger was connected to remote debuggee over (A remote guest).
Definition globals.h:253
ACTIVE_DEBUGGING_PROCESS g_ActiveProcessDebuggingState
State of active debugging thread.
Definition globals.h:372
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 ConvertTokenToUInt32(CommandToken TargetToken, PUINT32 Result)
check and convert command token to a 32 bit unsigned integer
Definition common.cpp:546
BOOLEAN g_IsInstrumentingInstructions
Shows whether the user is running 't', 'p', or 'i' command.
Definition globals.h:571
BOOLEAN HyperDbgRegisterShowAll()
handler of r show all registers
Definition r.cpp:354
BOOLEAN CommandSettingsGetValueFromConfigFile(std::string OptionName, std::string &OptionValue)
Gets the setting values from config file.
Definition settings.cpp:60
BOOLEAN SteppingInstrumentationStepInForTracking()
Perform Instrumentation Step-in for Tracking.
Definition steppings.cpp:53
volatile BOOLEAN RequestShowingRegs
Definition track.cpp:28
BOOLEAN ShowRegs
Definition track.cpp:27
VOID CommandTrackHelp()
help of the !track command
Definition track.cpp:36
BOOLEAN IsCallInstructionVisited
Definition track.cpp:26
UINT32 NumberOfCallsIdentation
Definition track.cpp:25