HyperDbg Debugger
Loading...
Searching...
No Matches
hwdbg-interpreter.h
Go to the documentation of this file.
1
12#pragma once
13
15// Functions //
17
18VOID
20
22HwdbgInterpretPacket(PVOID BufferReceived, UINT32 LengthReceived);
23
26 HWDBG_INSTANCE_INFORMATION * InstanceInfo,
27 const TCHAR * FileName,
28 UINT32 * MemoryBuffer,
29 SIZE_T BufferSize,
30 HWDBG_ACTION_ENUMS RequestedAction);
31
33HwdbgInterpreterFillMemoryFromFile(const TCHAR * FileName,
34 UINT32 * MemoryBuffer,
35 SIZE_T BufferSize);
36
37SIZE_T
39 HWDBG_INSTANCE_INFORMATION * InstanceInfo,
40 UINT32 NumberOfStages);
41
44 const TCHAR * FileName,
46 HWDBG_ACTION_ENUMS RequestedAction,
47 CHAR * Buffer,
48 UINT32 BufferLength);
49
51HwdbgReadInstanceInfoFromFile(const TCHAR * FileName, UINT32 * MemoryBuffer, SIZE_T BufferSize);
52
55 const CHAR * FileName);
56
58HwdbgLoadInstanceInfo(const TCHAR * InstanceFilePathToRead, UINT32 InitialBramBufferSize);
UCHAR BOOLEAN
Definition BasicTypes.h:35
void * PVOID
Definition BasicTypes.h:56
unsigned int UINT32
Definition BasicTypes.h:54
char CHAR
Definition BasicTypes.h:33
enum _DEBUGGER_REMOTE_PACKET_TYPE DEBUGGER_REMOTE_PACKET_TYPE
enum for different packet types in HyperDbg packets
struct _HWDBG_INSTANCE_INFORMATION HWDBG_INSTANCE_INFORMATION
The structure of script capabilities information in hwdbg.
enum _HWDBG_ACTION_ENUMS HWDBG_ACTION_ENUMS
Different action of hwdbg.
BOOLEAN HwdbgInterpreterFillFileFromMemory(HWDBG_INSTANCE_INFORMATION *InstanceInfo, const TCHAR *FileName, UINT32 *MemoryBuffer, SIZE_T BufferSize, HWDBG_ACTION_ENUMS RequestedAction)
Function to write the memory buffer to a file in the specified format.
Definition hwdbg-interpreter.cpp:242
BOOLEAN HwdbgWriteTestInstanceInfoRequestIntoFile(HWDBG_INSTANCE_INFORMATION *InstanceInfo, const CHAR *FileName)
Write test instance info request into a file.
Definition hwdbg-interpreter.cpp:612
BOOLEAN HwdbgInterpreterFillMemoryFromFile(const TCHAR *FileName, UINT32 *MemoryBuffer, SIZE_T BufferSize)
Function to read the file and fill the memory buffer.
Definition hwdbg-interpreter.cpp:184
BOOLEAN HwdbgReadInstanceInfoFromFile(const TCHAR *FileName, UINT32 *MemoryBuffer, SIZE_T BufferSize)
Read the instance info from the file.
Definition hwdbg-interpreter.cpp:575
BOOLEAN HwdbgLoadInstanceInfo(const TCHAR *InstanceFilePathToRead, UINT32 InitialBramBufferSize)
Load the instance info.
Definition hwdbg-interpreter.cpp:648
SIZE_T HwdbgComputeNumberOfFlipFlopsNeeded(HWDBG_INSTANCE_INFORMATION *InstanceInfo, UINT32 NumberOfStages)
Function to compute number of flip-flops needed in the target device.
Definition hwdbg-interpreter.cpp:330
BOOLEAN HwdbgInterpretPacket(PVOID BufferReceived, UINT32 LengthReceived)
Interpret packets of hwdbg.
Definition hwdbg-interpreter.cpp:29
BOOLEAN HwdbgInterpreterSendPacketAndBufferToHwdbg(HWDBG_INSTANCE_INFORMATION *InstanceInfo, const TCHAR *FileName, DEBUGGER_REMOTE_PACKET_TYPE PacketType, HWDBG_ACTION_ENUMS RequestedAction, CHAR *Buffer, UINT32 BufferLength)
Sends a HyperDbg packet + a buffer to the hwdbg.
Definition hwdbg-interpreter.cpp:398
VOID HwdbgShowIntanceInfo(HWDBG_INSTANCE_INFORMATION *InstanceInfo)
Show instance info details.
Definition hwdbg-interpreter.cpp:532