用户空间存储器编辑程序 [英] User-space memory editing programs

查看:55
本文介绍了用户空间存储器编辑程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

编辑其他进程的内存的程序如何工作,例如 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆