• Antelope Release 5.9 Mac OS X 10.13.2 2019-05-01

 

NAME

nomem - test memory address for validity in process

SYNOPSIS

#include "stock.h" ;

void *nomem(void *memory, int n)

DESCRIPTION

nomem tests a memory address for validity by opening the corresponding /proc/pid file and attempting to read at the specified address.

FILES

/proc/pid

RETURN VALUES

nomem returns the first bad address if if the location is invalid, zero otherwise.

LIBRARY

$(STOCKLIBS)

SEE ALSO

hexdump(3)

AUTHOR

Daniel Quinlan
Printer icon