Jump to content
Tuts 4 You

Calculate Memory


ragdog

Recommended Posts

Hi @All

I coding a new toy this scan a Memory from Process

I use GetSystemInfo and VirtualQueryEx to calc the Memory

Now is the question how can i calc the Primary Memory and Entire Memory example Winhex?

Regards,

ragdog

Link to comment

Comparing WinHex's data to what VirtualQueryEx returns, it looks like Primary Memory is just dumping each page that is returned from VirtualQueryEx.

Not including the shared memory pages for system dlls though.

Which seems to be what they return if you choose Entire Memory.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...