Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
280 views
in Technique[技术] by (71.8m points)

c - Why can Cheat Engine access a memory location but my own program cannot?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

A 32 bit micro processor can address about 4GB of memory. This does not mean all 4GB are mapped into the current address space. What is mapped depends both on the operating system and whether ASLR is being used. Processes can also map more RAM or other resources using APIs like mmap or VirtualAlloc. So what may work in one process, may not work somewhere else.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...