52{
59 UINT32 ActionBreakToDebuggerLength = 0;
60 UINT32 ActionCustomCodeLength = 0;
61 UINT32 ActionScriptLength = 0;
64
65
66
67
69 {
70
71
72
74 }
75
76
77
78
80 &CommandTokens,
82 &Event,
83 &EventLength,
84 &ActionBreakToDebugger,
85 &ActionBreakToDebuggerLength,
86 &ActionCustomCode,
87 &ActionCustomCodeLength,
88 &ActionScript,
89 &ActionScriptLength,
90 &EventParsingErrorCause))
91 {
92
93
94
96 }
97
98
99
100
103
104
105
106
109 HardwareScriptFilePathToSave))
110 {
111 ShowMessages("err, unable to create hwdbg script\n");
113 goto FreeAndReturnResult;
114 }
115
116
117
118
120 InstanceFilePathToSave))
121 {
122 ShowMessages("err, unable to write instance info request\n");
124 goto FreeAndReturnResult;
125 }
126
127
128
129
131
132FreeAndReturnResult:
133
134
135
136
138
139
140
141
142 return Result;
143}
VOID FreeEventsAndActionsMemory(PDEBUGGER_GENERAL_EVENT_DETAIL Event, PDEBUGGER_GENERAL_ACTION ActionBreakToDebugger, PDEBUGGER_GENERAL_ACTION ActionCustomCode, PDEBUGGER_GENERAL_ACTION ActionScript)
Deallocate buffers relating to events and actions.
Definition debugger.cpp:1688
BOOLEAN InterpretGeneralEventAndActionsFields(vector< CommandToken > *CommandTokens, VMM_EVENT_TYPE_ENUM EventType, PDEBUGGER_GENERAL_EVENT_DETAIL *EventDetailsToFill, PUINT32 EventBufferLength, PDEBUGGER_GENERAL_ACTION *ActionDetailsToFillBreakToDebugger, PUINT32 ActionBufferLengthBreakToDebugger, PDEBUGGER_GENERAL_ACTION *ActionDetailsToFillCustomCode, PUINT32 ActionBufferLengthCustomCode, PDEBUGGER_GENERAL_ACTION *ActionDetailsToFillScript, PUINT32 ActionBufferLengthScript, PDEBUGGER_EVENT_PARSING_ERROR_CAUSE ReasonForErrorInParsing)
Interpret general event fields.
Definition debugger.cpp:1736
HWDBG_INSTANCE_INFORMATION g_HwdbgInstanceInfo
Instance information of the current hwdbg debuggee.
Definition globals.h:691
BOOLEAN HwdbgWriteTestInstanceInfoRequestIntoFile(HWDBG_INSTANCE_INFORMATION *InstanceInfo, const CHAR *FileName)
Write test instance info request into a file.
Definition hwdbg-interpreter.cpp:612
BOOLEAN HwdbgLoadInstanceInfo(const TCHAR *InstanceFilePathToRead, UINT32 InitialBramBufferSize)
Load the instance info.
Definition hwdbg-interpreter.cpp:648
VOID HwdbgScriptPrintScriptBuffer(CHAR *ScriptBuffer, UINT32 ScriptBufferSize)
Print the actual script.
Definition hwdbg-scripts.cpp:29
BOOLEAN HwdbgScriptCreateHwdbgScript(CHAR *ScriptBuffer, UINT32 ScriptBufferSize, const TCHAR *HardwareScriptFilePathToSave)
Create hwdbg script.
Definition hwdbg-scripts.cpp:233
NULL()
Definition test-case-generator.py:530
UINT32 ScriptBufferSize
Definition Events.h:420