mmap - Detect mprotected memory address -
is there function observe whether given virtual address mapped mmap
protected mprotect
? accessing such address result in segmentation fault if prot_none
set. i'd first observe whether they're protected or not.
it's improve if don't need introduce signal handlers. if there isn't such function, other lightweight solution fine. thanks.
mmap mprotect
No comments:
Post a Comment