阅读背景:

如何测试linux用户空间应用程序中的地址是否可读

来源:互联网 

For debugging purposes I need to test a pointer to see if it points to a valid readable page. Currently I am parsing /proc/[pid]/maps to see if the address is mapped ok, but this seems a bit long-winded. Is there a better way? Thanks.For debugging purposes I need to test a pointer




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: