|
HyperDbg Debugger
|
Provides runtime access to PCI ID database. More...
#include "pch.h"Functions | |
| CHAR * | TrimWhitespace (CHAR *Str, UINT8 MaxLen) |
| Trims whitespaces in passed string. | |
| CHAR * | ToLower (CHAR *Str) |
| Converts passed string to lowercase. | |
| CHAR * | ReadLine (CHAR *DestBuffer, UINT64 CharLimit, CHAR **SrcBuffer) |
| Read line from string. Treats SrcBuffer as a stream (similar to fgets and friends), i.e. updates SrcBuffer by number of characters read. | |
| Vendor * | GetVendorByIdStr (const CHAR *Filename, const CHAR *VendorId) |
| Get Vendor by PCI ID, encoded in ASCII. Do not call directly - use GetVendorById() instead. | |
| VOID | FreeVendor (Vendor *VendorToFree) |
| Frees Vendor and all of its members. | |
| VOID | FreePciIdDatabase () |
| Frees PciIdDatabaseBuffer. | |
| Vendor * | GetVendorById (UINT16 VendorId) |
| Returns Vendor entry, including corresponding devices and subdevices. | |
| Device * | GetDeviceFromVendor (Vendor *VendorToUse, UINT16 DeviceId) |
| Returns Device entry corresponding to DeviceId. | |
| SubDevice * | GetSubDeviceFromDevice (Device *DeviceToUse, UINT16 SubVendorId, UINT16 SubDeviceId) |
| Returns SubDevice entry corresponding to SubVendorId and DeviceId. | |
Provides runtime access to PCI ID database.
| VOID FreePciIdDatabase | ( | ) |
Frees PciIdDatabaseBuffer.
| VOID FreeVendor | ( | Vendor * | VendorToFree | ) |
Frees Vendor and all of its members.
| VendorToFree |
Returns Device entry corresponding to DeviceId.
| VendorToUse | |
| DeviceId |
Returns SubDevice entry corresponding to SubVendorId and DeviceId.
| DeviceToUse | |
| SubVendorId | |
| SubDeviceId |
Returns Vendor entry, including corresponding devices and subdevices.
Use FreeVendor() on returned Vendor pointer after usage. First call will initialize database - call FreeDatabase() once done querying.
| VendorId |
Get Vendor by PCI ID, encoded in ASCII. Do not call directly - use GetVendorById() instead.
| Filename | |
| VendorId |
Read line from string. Treats SrcBuffer as a stream (similar to fgets and friends), i.e. updates SrcBuffer by number of characters read.
| DestBuffer | |
| CharLimit | |
| SrcBuffer |
Converts passed string to lowercase.
| Str |
Trims whitespaces in passed string.
| Str | |
| MaxLen |