Query, if a heap is executable

424 views Asked by At

Let's say i have a heap handle from a HeapCreate, or any other heap-related function.

I would like to find out if a given handle currently has HEAP_CREATE_ENABLE_EXECUTE flag set for it.

Currently i see no API, that could do this, since the only relevant function, HeapQueryInformation does something completely different.

Obviously, all this using visual c.

Is such thing possible?

0

There are 0 answers