adplus-dvertising
frame-decoration

Question

What is VirtualQuery used for?

a.

Allocating private memory block in a user-mode address space

b.

Setting memory region's protection settings

c.

Querying a memory block

d.

Freeing a private allocation block

Posted under Reverse Engineering

Answer: (c).Querying a memory block Explanation:VirtualQuery is used to query the current memory block (retrieving information for the block's VAD node) for various details such as what type of block it is and whether it's reserved, committed, or unused.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is VirtualQuery used for?