3 ms·
The handle is a _kernel_ address... backed by a validly constructed kernel object. EDIT: And since you dirty edited, can you point to an example of HMODULE or
by monocasa 7y ago
The handle is a _kernel_ address... backed by a validly constructed kernel object.
EDIT: And since you dirty edited, can you point to an example of HMODULE or any other dataless HANDLE being used on the syscall interface?
- jdsully 7y agoHandles are not kernel addresses in NT and windows will not intentionally leak those to user space. Handle accesses are always through a layer of indirection in the object manager. You will find that windows never makes guarantees of what handles actually are - in case it wants to change them. In windows NT most GDI handles are user mode and not kernel objects. Other objects may or may not be kernel based depending on the version and whims of the implementor.
- monocasa 7y agoI mean, they're very clearly offsets into the HANDLE table kernel space. And can you WFMO on user space only HANDLEs?