Jump to content
Tuts 4 You

Calculate Memory


ragdog

Recommended Posts

Posted

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

Posted

What is primary and entire memory? This is defined by winhex. There is no general definition.

Posted

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.

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...