Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTimeout = errors.New("NtQueryObject deadlocked")
Functions ¶
This section is empty.
Types ¶
type Inspector ¶
type Inspector struct {
// contains filtered or unexported fields
}
Inspector describes a structure that queries details (name and type name) to a specific handle. Common elements such as type ID to name mappings and process handles are cached and reused.
func NewInspector ¶
func (*Inspector) Close ¶
func (i *Inspector) Close()
Close the Inspector object, removing any cached data and stopping the native thread
func (*Inspector) LookupHandleName ¶
func (i *Inspector) LookupHandleName(handle SystemHandle) (name string, err error)
func (*Inspector) LookupHandleType ¶
func (i *Inspector) LookupHandleType(handle SystemHandle) (handleType string, err error)
LookupHandleType returns the type name for the handle. If possible, a cached type is used; otherwise, the handle is duplicated and its type is looked up.
type InsufficientBufferError ¶
type InsufficientBufferError struct {
RequiredBufferSize uint32
}
func (InsufficientBufferError) Error ¶
func (i InsufficientBufferError) Error() string
type SystemHandle ¶
type SystemHandle struct { Object uint3264 UniqueProcessID uint3264 HandleValue uint3264 GrantedAccess uint32 CreatorBackTraceIndex uint16 ObjectTypeIndex uint16 HandleAttributes uint32 // contains filtered or unexported fields }
SystemHandle is the OS based definition of SYSTEM_HANDLE_TABLE_ENTRY_INFO_EX
func NtQuerySystemHandles ¶
func NtQuerySystemHandles(buf []byte) ([]SystemHandle, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.