Debugging Tools for Windows |
The IG_POINTER_SEARCH_PHYSICAL Ioctl operation searches the target's physical memory for pointers lying within a specified range. When calling Ioctl with IoctlType set to IG_POINTER_SEARCH_PHYSICAL, IpvData should contain an instance of the POINTER_SEARCH_PHYSICAL structure.
typedef struct _POINTER_SEARCH_PHYSICAL {
IN ULONG64 Offset;
IN ULONG64 Length;
IN ULONG64 PointerMin;
IN ULONG64 PointerMax;
IN ULONG Flags;
OUT PULONG64 MatchOffsets;
IN ULONG MatchOffsetsSize;
OUT ULONG MatchOffsetsCount;
} POINTER_SEARCH_PHYSICAL, *PPOINTER_SEARCH_PHYSICAL;
Flag | Behavior when set |
---|---|
PTR_SEARCH_PHYS_ALL_HITS | Return all pointers in the specified range. If this flag is not set, only one pointer per page is returned. |
PTR_SEARCH_PHYS_PTE | The memory is searched for a page table entry (PTE) that matches the Page Frame Number specified in PointerMin. |
PTR_SEARCH_PHYS_RANGE_CHECK_ONLY | |
PTR_SEARCH_NO_SYMBOL_CHECK | Do not check that the symbols used for the kernel are correct. |
If this Ioctl operation was successful, the return value is TRUE; otherwise, it is FALSE.
The parameters for the IG_POINTER_SEARCH_PHYSICAL Ioctl operation are the members of the POINTER_SEARCH_PHYSICAL structure.
Headers: Declared in wdbgexts.h. If you are writing a DbgEng extension that uses this Ioctl operation, include wdbgexts.h before dbgeng.h (see Writing DbgEng Extension Code for details).