View previous topic :: View next topic |
Author |
Message |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Thu Mar 05, 2009 8:14 am Post subject: Question about file system being loaded to physical memory |
|
|
My question like, each process has its own range of memory region, but each sector of the process (i think, for example a function is loaded to a specific range 0xYY ~ 0xZZ), how do i get the size of it ?
i'm not sure i'm being specified, but i think nog_lorp and dark byte will understand what the heck i want to do.
|
|
Back to top |
|
 |
Reak I post too much
Reputation: 0
Joined: 15 May 2007 Posts: 3496
|
|
Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Thu Mar 05, 2009 8:41 am Post subject: |
|
|
no, talking about the size of it within physicaly memory.
|
|
Back to top |
|
 |
tombana Master Cheater
Reputation: 2
Joined: 14 Jun 2007 Posts: 456 Location: The Netherlands
|
Posted: Thu Mar 05, 2009 9:46 am Post subject: |
|
|
You can find the size of a page with VirtualQuery.
|
|
Back to top |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Thu Mar 05, 2009 2:30 pm Post subject: |
|
|
The only good use for working with pages is hooking interrupt 2E (I believe that's page fault, iirc) to spoof memory.
|
|
Back to top |
|
 |
|