5 * ptr_valid - test whether a pointer is safe to dereference.
7 * This little helper tells you if an address is mapped; it doesn't tell you
8 * if it's read-only (or execute only).
13 * // Our child actually crashes, but that's OK!
14 * tests_pass_valgrind test/run.c:--child-silent-after-fork=yes
16 int main(int argc, char *argv[])
18 /* Expect exactly one argument */
22 if (strcmp(argv[1], "depends") == 0) {
23 printf("ccan/noerr\n");