1libkvm(3LIB) Interface Libraries libkvm(3LIB)
2
3
4
6 libkvm - Kernel Virtual Memory access library
7
9 cc [ flag... ] file... -lkvm [ library ... ]
10 #include <kvm.h>
11
12
14 Functions in this library provide application access to kernel symbols,
15 addresses and values. The individual functions are documented in Sec‐
16 tion 3KVM of the reference manual.
17
19 The shared object libkvm.so.1 provides the public interfaces defined
20 below. See Intro(3) for additional information on shared object inter‐
21 faces.
22
23
24
25
26 kvm_close kvm_getcmd
27 kvm_getproc kvm_getu
28 kvm_kread kvm_kwrite
29 kvm_nextproc kvm_nlist
30 kvm_open kvm_read
31 kvm_setproc kvm_uread
32 kvm_uwrite kvm_write
33
34
36 /usr/lib/libkvm.so.1 shared object
37
38
39 /usr/lib/64/libkvm.so.1 64-bit shared object
40
41
43 See attributes(5) for descriptions of the following attributes:
44
45
46
47
48 ┌─────────────────────────────┬─────────────────────────────┐
49 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
50 ├─────────────────────────────┼─────────────────────────────┤
51 │Availability │SUNWcsl (32-bit) │
52 ├─────────────────────────────┼─────────────────────────────┤
53 │ │SUNWcslx (64-bit) │
54 ├─────────────────────────────┼─────────────────────────────┤
55 │Interface Stability │kvm_read() and kvm_write() │
56 │ │are Obsolete; the remaining │
57 │ │functions are Stable. │
58 ├─────────────────────────────┼─────────────────────────────┤
59 │MT-Level │Unsafe │
60 └─────────────────────────────┴─────────────────────────────┘
61
63 pvs(1), Intro(3), attributes(5)
64
65
66
67SunOS 5.11 22 May 2003 libkvm(3LIB)