简体   繁体   中英

read memory outside a program without segment faults

Is it possible to read memory addresses (real, not virtual) without throwing a segment fault? I wish to read all live, used memory addresses and log findings.

It depends on the OS you are using.

It should be possible, but you will need to write a kernel driver to interface between the OS and the hardware, and this code will have to run as a driver (assuming Windows, since users cannot directly interface with physical memory).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM