Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


can't read Physical Memory?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source
View previous topic :: View next topic  
Author Message
maplecheck
Expert Cheater
Reputation: 0

Joined: 22 Jan 2006
Posts: 139

PostPosted: Thu Jul 23, 2009 4:45 am    Post subject: can't read Physical Memory? Reply with quote

can't read Physical Memory in Win Xp Sp2? why?
but can read in another computer.

I have debug, ZwOpenSection can't open it, return STATUS_UNSUCCESSFUL

PS: I can read Physical Memory by WinIO.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 468

Joined: 09 May 2003
Posts: 25719
Location: The netherlands

PostPosted: Thu Jul 23, 2009 7:18 am    Post subject: Reply with quote

Could be another driver has mapped that physical address. Can you get more detailed error info besides STATUS_UNSUCCESSFUL ? (thats the error my driver gives, but I think ZwOpenSection should return a more clear error)

Anyhow, if you just want to read/write physical memory:
http://cheatengine.org/downloads/virtualpagedir.rar

Load that plugin into ce and then you can use physical memory without interference of api's

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
maplecheck
Expert Cheater
Reputation: 0

Joined: 22 Jan 2006
Posts: 139

PostPosted: Thu Jul 23, 2009 8:50 pm    Post subject: Reply with quote

Thank you. I thank the problem at SECTION_ALL_ACCESS, I fixed with follow, then work fine.

Code:
WCHAR         physmemName[] = L"\\Device\\PhysicalMemory";  // uppercase
            UCHAR*         memoryview;


            __try
            {
               RtlInitUnicodeString( &physmemString, physmemName );   

                  InitializeObjectAttributes( &attributes, &physmemString, OBJ_CASE_INSENSITIVE, (HANDLE) NULL, (PSECURITY_DESCRIPTOR) NULL);   
               ntStatus=ZwOpenSection( &physmem, SECTION_ALL_ACCESS, &attributes );  //SECTION_MAP_READ change to SECTION_ALL_ACCESS
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 468

Joined: 09 May 2003
Posts: 25719
Location: The netherlands

PostPosted: Thu Jul 23, 2009 10:58 pm    Post subject: Reply with quote

thanks
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites