|
HyperDbg Debugger
|
Interpreter of hwdbg packets and requests. More...
#include "pch.h"Functions | |
| BOOLEAN | HwdbgInterpretPacket (PVOID BufferReceived, UINT32 LengthReceived) |
| Interpret packets of hwdbg. | |
| std::vector< UINT32 > | HwdbgParseStringMemoryLine (const std::string &Line) |
| Function to parse a single line of the memory content. | |
| BOOLEAN | HwdbgInterpreterFillMemoryFromFile (const TCHAR *FileName, UINT32 *MemoryBuffer, SIZE_T BufferSize) |
| Function to read the file and fill the memory buffer. | |
| 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. | |
| SIZE_T | HwdbgComputeNumberOfFlipFlopsNeeded (HWDBG_INSTANCE_INFORMATION *InstanceInfo, UINT32 NumberOfStages) |
| Function to compute number of flip-flops needed in the target device. | |
| 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. | |
| VOID | HwdbgShowIntanceInfo (HWDBG_INSTANCE_INFORMATION *InstanceInfo) |
| Show instance info details. | |
| BOOLEAN | HwdbgReadInstanceInfoFromFile (const TCHAR *FileName, UINT32 *MemoryBuffer, SIZE_T BufferSize) |
| Read the instance info from the file. | |
| BOOLEAN | HwdbgWriteTestInstanceInfoRequestIntoFile (HWDBG_INSTANCE_INFORMATION *InstanceInfo, const CHAR *FileName) |
| Write test instance info request into a file. | |
| BOOLEAN | HwdbgLoadInstanceInfo (const TCHAR *InstanceFilePathToRead, UINT32 InitialBramBufferSize) |
| Load the instance info. | |
Variables | |
| HWDBG_INSTANCE_INFORMATION | g_HwdbgInstanceInfo |
| Instance information of the current hwdbg debuggee. | |
| BOOLEAN | g_HwdbgInstanceInfoIsValid |
| Shows whether the instance info is valid (received) or not. | |
| std::vector< UINT32 > | g_HwdbgPortConfiguration |
| Ports configuration of hwdbg. | |
Interpreter of hwdbg packets and requests.
| SIZE_T HwdbgComputeNumberOfFlipFlopsNeeded | ( | HWDBG_INSTANCE_INFORMATION * | InstanceInfo, |
| UINT32 | NumberOfStages ) |
Function to compute number of flip-flops needed in the target device.
| InstanceInfo | |
| NumberOfStages |
| 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.
| InstanceInfo | |
| FileName | |
| MemoryBuffer | |
| BufferSize | |
| RequestedAction |
| BOOLEAN HwdbgInterpreterFillMemoryFromFile | ( | const TCHAR * | FileName, |
| UINT32 * | MemoryBuffer, | ||
| SIZE_T | BufferSize ) |
Function to read the file and fill the memory buffer.
| FileName | |
| MemoryBuffer | |
| BufferSize |
| 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.
| InstanceInfo | |
| FileName | |
| PacketType | |
| RequestedAction | |
| Buffer | |
| BufferLength |
Interpret packets of hwdbg.
| BufferReceived | |
| LengthReceived |
| BOOLEAN HwdbgLoadInstanceInfo | ( | const TCHAR * | InstanceFilePathToRead, |
| UINT32 | InitialBramBufferSize ) |
Load the instance info.
| InstanceFilePathToRead | |
| InitialBramBufferSize |
| std::vector< UINT32 > HwdbgParseStringMemoryLine | ( | const std::string & | Line | ) |
Function to parse a single line of the memory content.
| Line |
| BOOLEAN HwdbgReadInstanceInfoFromFile | ( | const TCHAR * | FileName, |
| UINT32 * | MemoryBuffer, | ||
| SIZE_T | BufferSize ) |
Read the instance info from the file.
| FileName | |
| MemoryBuffer | |
| BufferSize |
| VOID HwdbgShowIntanceInfo | ( | HWDBG_INSTANCE_INFORMATION * | InstanceInfo | ) |
Show instance info details.
| InstanceInfo |
| BOOLEAN HwdbgWriteTestInstanceInfoRequestIntoFile | ( | HWDBG_INSTANCE_INFORMATION * | InstanceInfo, |
| const CHAR * | FileName ) |
Write test instance info request into a file.
| InstanceInfo | |
| FileName |
|
extern |
Instance information of the current hwdbg debuggee.
|
extern |
Shows whether the instance info is valid (received) or not.
|
extern |
Ports configuration of hwdbg.