极术小姐姐 · 2020年02月03日

Best way to safely check if virtual address exists

Hello, I'm trying to, given a virtual address, quickly check if it exists (if it is mapped) to know if I can access it in a safe way, without generating an exception. I'm currently using the AT instruction to check if a virtual address exists. Is there an alternative or better way to do this?

Thank you in advance

1 个回答 得票排序 · 时间排序
棋子 · 2020年02月03日

What is the problem with AT? AFAIK, it is the only way.

你的回答
关注数
1
收藏数
0
浏览数
2198
棋子
极术微信服务号
关注极术微信号
实时接收点赞提醒和评论通知
安谋科技学堂公众号
关注安谋科技学堂
实时获取安谋科技及 Arm 教学资源
安谋科技招聘公众号
关注安谋科技招聘
实时获取安谋科技中国职位信息