DCMD_PROC_MAPDEBUG_BASE

Get information pertaining to the path associated with the process associated with the file descriptor.

This is a convenience extension; it's equivalent to using DCMD_PROC_INFO , and then DCMD_PROC_MAPDEBUG with the base_address field. The base address is the address of the initial executable.

The argument is a pointer to a procfs_debuginfo structure, which is filled in with the required information on return. For example:

procfs_debuginfo dinfop;

devctl( fd, DCMD_PROC_MAPDEBUG_BASE, &dinfop, sizeof(dinfop),
        NULL);