Browse Source Download (without any required ccan dependencies)

Module:

ptr_valid

Summary:

test whether a pointer is safe to dereference.

Dependencies:

Description:

This little helper tells you if an address is mapped; it doesn't tell you if it's read-only (or execute only).

License:

BSD-MIT