1 POBJNAME(3PROC) Process Control Library Functions POBJNAME(3PROC)
2
3 NAME
4 Pobjname, Pobjname_resolved - turn a virtual address into its mapped
5 object
6
7 SYNOPSIS
8 Process Control Library (libproc, -lproc)
9 #include <libproc.h>
10
11 char *
12 Pobjname(struct ps_prochandle *P, uintptr_t addr, char *buffer,
13 size_t bufsize);
14
15 char *
16 Pobjname_resolved(struct ps_prochandle *P, uintptr_t addr, char *buffer,
17 size_t bufsize);
18
19 DESCRIPTION
20 The Pobjname() and Pobjname_resolved() functions attempt to determine the
21 underlying mapped object that contains the virtual address addr in the
22 process handle P.
23
24 A program consists of multiple memory mappings. Some are provided by the
25 system, such as the stack and the heap. While others are created through
26 explicit calls to mmap(2) or brought in by the run-time link-editor due
27 to dependencies specified in binaries and libraries.
28
|
1 POBJNAME(3PROC) Process Control Library Functions POBJNAME(3PROC)
2
3 NAME
4 Pobjname, Pobjname_resolved - turn a virtual address into its mapped
5 object
6
7 LIBRARY
8 Process Control Library (libproc, -lproc)
9
10 SYNOPSIS
11 #include <libproc.h>
12
13 char *
14 Pobjname(struct ps_prochandle *P, uintptr_t addr, char *buffer,
15 size_t bufsize);
16
17 char *
18 Pobjname_resolved(struct ps_prochandle *P, uintptr_t addr, char *buffer,
19 size_t bufsize);
20
21 DESCRIPTION
22 The Pobjname() and Pobjname_resolved() functions attempt to determine the
23 underlying mapped object that contains the virtual address addr in the
24 process handle P.
25
26 A program consists of multiple memory mappings. Some are provided by the
27 system, such as the stack and the heap. While others are created through
28 explicit calls to mmap(2) or brought in by the run-time link-editor due
29 to dependencies specified in binaries and libraries.
30
|