用户空间存储器编辑程序 [英] User-space memory editing programs
问题描述
编辑其他进程的内存的程序如何工作,例如 Cheat Engine 和 iHaxGamez ?我的理解是,从另一个进程的内存中读取(更不用说写入)的进程是分段错误的直接依据.
How do programs that edit memory of other processes work, such as Cheat Engine and iHaxGamez? My understanding is that a process reading from (let alone writing to) another process' memory is immediate grounds for a segmentation fault.
推荐答案
在Linux下获得对另一个进程内存的访问非常简单(假设您具有足够的用户权限).
Gaining access to another processes memory under linux is fairly straightforward (assuming you have sufficient user privileges).
例如,文件/dev/mem
将提供对cpu整个内存空间的访问.单个进程的映射详细信息可以在/proc/<pid>/maps
中找到.
For example the file /dev/mem
will provide access to the entire memory space of cpu. Details of the mappings for an individual process can be found in /proc/<pid>/maps
.
此处.
这篇关于用户空间存储器编辑程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!