Expand description
Low-level bindings for the libunwind library.
Please see the libunwind C API documentation for function descriptions.
Re-exports§
pub use self::unw_save_loc_type as unw_save_loc_type_t;
Structs§
- UCD_
info - __
atomic_ wide_ counter__ bindgen_ ty_ 1 - __
fsid_ t - __
once_ flag - __
pthread_ cond_ s - __
pthread_ internal_ list - __
pthread_ internal_ slist - __
pthread_ mutex_ s - __
pthread_ rwlock_ arch_ t - __
sigset_ t - _libc_
fpstate - _libc_
fpxreg - _libc_
xmmreg - fd_set
- imaxdiv_
t - mcontext_
t - stack_t
- timespec
- timeval
- ucontext_
t - unw_
accessors - unw_
addr_ space - unw_
cursor - unw_
dyn_ info - unw_
dyn_ info_ list - unw_
dyn_ op - unw_
dyn_ proc_ info - unw_
dyn_ region_ info - unw_
dyn_ remote_ table_ info - unw_
dyn_ table_ info - unw_
proc_ info - unw_
save_ loc - unw_
tdep_ proc_ info_ t - unw_
tdep_ save_ loc
Constants§
- BIG_
ENDIAN - BYTE_
ORDER - FD_
SETSIZE - INT8_
MAX - INT8_
MIN - INT16_
MAX - INT16_
MIN - INT32_
MAX - INT32_
MIN - INTPTR_
MAX - INTPTR_
MIN - INT_
FAST8_ MAX - INT_
FAST8_ MIN - INT_
FAST16_ MAX - INT_
FAST16_ MIN - INT_
FAST32_ MAX - INT_
FAST32_ MIN - INT_
LEAS T8_ MAX - INT_
LEAS T8_ MIN - INT_
LEAS T16_ MAX - INT_
LEAS T16_ MIN - INT_
LEAS T32_ MAX - INT_
LEAS T32_ MIN - LITTLE_
ENDIAN - NGREG
- PDP_
ENDIAN - PRIX8
- PRIX16
- PRIX32
- PRIX64
- PRIXFAS
T8 - PRIXFAS
T16 - PRIXFAS
T32 - PRIXFAS
T64 - PRIXLEAS
T8 - PRIXLEAS
T16 - PRIXLEAS
T32 - PRIXLEAS
T64 - PRIXMAX
- PRIXPTR
- PRId8
- PRId16
- PRId32
- PRId64
- PRIdFAS
T8 - PRIdFAS
T16 - PRIdFAS
T32 - PRIdFAS
T64 - PRIdLEAS
T8 - PRIdLEAS
T16 - PRIdLEAS
T32 - PRIdLEAS
T64 - PRIdMAX
- PRIdPTR
- PRIi8
- PRIi16
- PRIi32
- PRIi64
- PRIiFAS
T8 - PRIiFAS
T16 - PRIiFAS
T32 - PRIiFAS
T64 - PRIiLEAS
T8 - PRIiLEAS
T16 - PRIiLEAS
T32 - PRIiLEAS
T64 - PRIiMAX
- PRIiPTR
- PRIo8
- PRIo16
- PRIo32
- PRIo64
- PRIoFAS
T8 - PRIoFAS
T16 - PRIoFAS
T32 - PRIoFAS
T64 - PRIoLEAS
T8 - PRIoLEAS
T16 - PRIoLEAS
T32 - PRIoLEAS
T64 - PRIoMAX
- PRIoPTR
- PRIu8
- PRIu16
- PRIu32
- PRIu64
- PRIuFAS
T8 - PRIuFAS
T16 - PRIuFAS
T32 - PRIuFAS
T64 - PRIuLEAS
T8 - PRIuLEAS
T16 - PRIuLEAS
T32 - PRIuLEAS
T64 - PRIuMAX
- PRIuPTR
- PRIx8
- PRIx16
- PRIx32
- PRIx64
- PRIxFAS
T8 - PRIxFAS
T16 - PRIxFAS
T32 - PRIxFAS
T64 - PRIxLEAS
T8 - PRIxLEAS
T16 - PRIxLEAS
T32 - PRIxLEAS
T64 - PRIxMAX
- PRIxPTR
- PTRDIFF_
MAX - PTRDIFF_
MIN - SCNd8
- SCNd16
- SCNd32
- SCNd64
- SCNdFAS
T8 - SCNdFAS
T16 - SCNdFAS
T32 - SCNdFAS
T64 - SCNdLEAS
T8 - SCNdLEAS
T16 - SCNdLEAS
T32 - SCNdLEAS
T64 - SCNdMAX
- SCNdPTR
- SCNi8
- SCNi16
- SCNi32
- SCNi64
- SCNiFAS
T8 - SCNiFAS
T16 - SCNiFAS
T32 - SCNiFAS
T64 - SCNiLEAS
T8 - SCNiLEAS
T16 - SCNiLEAS
T32 - SCNiLEAS
T64 - SCNiMAX
- SCNiPTR
- SCNo8
- SCNo16
- SCNo32
- SCNo64
- SCNoFAS
T8 - SCNoFAS
T16 - SCNoFAS
T32 - SCNoFAS
T64 - SCNoLEAS
T8 - SCNoLEAS
T16 - SCNoLEAS
T32 - SCNoLEAS
T64 - SCNoMAX
- SCNoPTR
- SCNu8
- SCNu16
- SCNu32
- SCNu64
- SCNuFAS
T8 - SCNuFAS
T16 - SCNuFAS
T32 - SCNuFAS
T64 - SCNuLEAS
T8 - SCNuLEAS
T16 - SCNuLEAS
T32 - SCNuLEAS
T64 - SCNuMAX
- SCNuPTR
- SCNx8
- SCNx16
- SCNx32
- SCNx64
- SCNxFAS
T8 - SCNxFAS
T16 - SCNxFAS
T32 - SCNxFAS
T64 - SCNxLEAS
T8 - SCNxLEAS
T16 - SCNxLEAS
T32 - SCNxLEAS
T64 - SCNxMAX
- SCNxPTR
- SIG_
ATOMIC_ MAX - SIG_
ATOMIC_ MIN - SIZE_
MAX - UINT8_
MAX - UINT16_
MAX - UINT32_
MAX - UINTPTR_
MAX - UINT_
FAST8_ MAX - UINT_
FAST16_ MAX - UINT_
FAST32_ MAX - UINT_
LEAS T8_ MAX - UINT_
LEAS T16_ MAX - UINT_
LEAS T32_ MAX - UNW_
NUM_ EH_ REGS - UNW_
PI_ FLAG_ DEBUG_ FRAME - UNW_
PI_ FLAG_ FIRST_ TDEP_ BIT - UNW_
TARGET_ X86_ 64 - UNW_
TDEP_ BP - UNW_
TDEP_ CURSOR_ LEN - UNW_
TDEP_ EH - UNW_
TDEP_ IP - UNW_
TDEP_ NUM_ EH_ REGS - UNW_
TDEP_ SP - UNW_
VERSION_ EXTRA - UNW_
VERSION_ MAJOR - UNW_
VERSION_ MINOR - WINT_
MAX - WINT_
MIN - _ATFILE_
SOURCE - _BITS_
BYTESWAP_ H - _BITS_
ENDIANNESS_ H - _BITS_
ENDIAN_ H - _BITS_
PTHREADTYPES_ ARCH_ H - _BITS_
PTHREADTYPES_ COMMON_ H - _BITS_
STDINT_ INTN_ H - _BITS_
STDINT_ UINTN_ H - _BITS_
TIME64_ H - _BITS_
TYPESIZES_ H - _BITS_
TYPES_ H - _BITS_
UINTN_ IDENTITY_ H - _BITS_
WCHAR_ H - _DEFAULT_
SOURCE - _ENDIAN_
H - _FEATURES_
H - _INTTYPES_
H - _POSIX_
C_ SOURCE - _POSIX_
SOURCE - _STDC_
PREDEF_ H - _STDINT_
H - _STRUCT_
TIMESPEC - _SYS_
CDEFS_ H - _SYS_
SELECT_ H - _SYS_
TYPES_ H - _SYS_
UCONTEXT_ H - _THREAD_
MUTEX_ INTERNAL_ H - _THREAD_
SHARED_ TYPES_ H - _UCONTEXT_
H - _U_
QP_ TRUE - _U_
TDEP_ QP_ TRUE - __
BIG_ ENDIAN - __
BIT_ TYPES_ DEFINED__ - __
BYTE_ ORDER - __
FD_ SETSIZE - __
FLOAT_ WORD_ ORDER - __
GLIBC_ MINOR__ - __
GLIBC_ USE_ DEPRECATED_ GETS - __
GLIBC_ USE_ DEPRECATED_ SCANF - __
GLIBC_ USE_ IEC_ 60559_ BFP_ EXT - __
GLIBC_ USE_ IEC_ 60559_ BFP_ EXT_ C2X - __
GLIBC_ USE_ IEC_ 60559_ EXT - __
GLIBC_ USE_ IEC_ 60559_ FUNCS_ EXT - __
GLIBC_ USE_ IEC_ 60559_ FUNCS_ EXT_ C2X - __
GLIBC_ USE_ IEC_ 60559_ TYPES_ EXT - __
GLIBC_ USE_ ISOC2X - __
GLIBC_ USE_ LIB_ EXT2 - __
GLIBC__ - __
GNU_ LIBRARY__ - __
HAVE_ GENERIC_ SELECTION - __
INO_ T_ MATCHES_ INO64_ T - __
KERNEL_ OLD_ TIMEVAL_ MATCHES_ TIMEVA L64 - __
LDOUBLE_ REDIRECTS_ TO_ FLOA T128_ ABI - __
LITTLE_ ENDIAN - __NGREG
- __
OFF_ T_ MATCHES_ OFF64_ T - __
PDP_ ENDIAN - __
PRI64_ PREFIX - __
PRIPTR_ PREFIX - __
PTHREAD_ MUTEX_ HAVE_ PREV - __
RLIM_ T_ MATCHES_ RLIM64_ T - __
SIZEOF_ PTHREAD_ ATTR_ T - __
SIZEOF_ PTHREAD_ BARRIERATTR_ T - __
SIZEOF_ PTHREAD_ BARRIER_ T - __
SIZEOF_ PTHREAD_ CONDATTR_ T - __
SIZEOF_ PTHREAD_ COND_ T - __
SIZEOF_ PTHREAD_ MUTEXATTR_ T - __
SIZEOF_ PTHREAD_ MUTEX_ T - __
SIZEOF_ PTHREAD_ RWLOCKATTR_ T - __
SIZEOF_ PTHREAD_ RWLOCK_ T - __
STATFS_ MATCHES_ STATF S64 - __
STDC_ IEC_ 559_ COMPLEX__ - __
STDC_ IEC_ 559__ - __
STDC_ IEC_ 60559_ BFP__ - __
STDC_ IEC_ 60559_ COMPLEX__ - __
STDC_ ISO_ 10646__ - __
SYSCALL_ WORDSIZE - __
TIMESIZE - __
USE_ ATFILE - __
USE_ FORTIFY_ LEVEL - __
USE_ ISOC11 - __
USE_ ISOC95 - __
USE_ ISOC99 - __
USE_ MISC - __
USE_ POSIX - __
USE_ POSI X2 - __
USE_ POSI X199309 - __
USE_ POSI X199506 - __
USE_ POSIX_ IMPLICITLY - __
USE_ XOPE N2K - __
USE_ XOPE N2K8 - __
WORDSIZE - __
WORDSIZE_ TIME64_ COMPA T32 - ____
gwchar_ t_ defined - __
clock_ t_ defined - __
clockid_ t_ defined - __
glibc_ c99_ flexarr_ available - __
have_ pthread_ attr_ t - __
sigset_ t_ defined - __
stack_ t_ defined - __
time_ t_ defined - __
timer_ t_ defined - __
timeval_ defined - unw_
caching_ policy_ t_ UNW_ CACHE_ GLOBAL - unw_
caching_ policy_ t_ UNW_ CACHE_ NONE - unw_
caching_ policy_ t_ UNW_ CACHE_ PER_ THREAD - unw_
dyn_ info_ format_ t_ UNW_ INFO_ FORMAT_ ARM_ EXIDX - unw_
dyn_ info_ format_ t_ UNW_ INFO_ FORMAT_ DYNAMIC - unw_
dyn_ info_ format_ t_ UNW_ INFO_ FORMAT_ IP_ OFFSET - unw_
dyn_ info_ format_ t_ UNW_ INFO_ FORMAT_ REMOTE_ TABLE - unw_
dyn_ info_ format_ t_ UNW_ INFO_ FORMAT_ TABLE - unw_
dyn_ operation_ t_ UNW_ DYN_ ADD - unw_
dyn_ operation_ t_ UNW_ DYN_ ALIAS - unw_
dyn_ operation_ t_ UNW_ DYN_ COPY_ STATE - unw_
dyn_ operation_ t_ UNW_ DYN_ LABEL_ STATE - unw_
dyn_ operation_ t_ UNW_ DYN_ POP_ FRAMES - unw_
dyn_ operation_ t_ UNW_ DYN_ SAVE_ REG - unw_
dyn_ operation_ t_ UNW_ DYN_ SPILL_ FP_ REL - unw_
dyn_ operation_ t_ UNW_ DYN_ SPILL_ SP_ REL - unw_
dyn_ operation_ t_ UNW_ DYN_ STOP - unw_
error_ t_ UNW_ EBADFRAME - unw_
error_ t_ UNW_ EBADREG - unw_
error_ t_ UNW_ EBADVERSION - unw_
error_ t_ UNW_ EINVAL - unw_
error_ t_ UNW_ EINVALIDIP - unw_
error_ t_ UNW_ ENOINFO - unw_
error_ t_ UNW_ ENOMEM - unw_
error_ t_ UNW_ EREADONLYREG - unw_
error_ t_ UNW_ ESTOPUNWIND - unw_
error_ t_ UNW_ ESUCCESS - unw_
error_ t_ UNW_ EUNSPEC - unw_
frame_ regnum_ t_ UNW_ REG_ EH - unw_
frame_ regnum_ t_ UNW_ REG_ IP - unw_
frame_ regnum_ t_ UNW_ REG_ LAST - unw_
frame_ regnum_ t_ UNW_ REG_ SP - unw_
init_ local2_ flags_ t_ UNW_ INIT_ SIGNAL_ FRAME - unw_
save_ loc_ type_ UNW_ SLT_ MEMORY - unw_
save_ loc_ type_ UNW_ SLT_ NONE - unw_
save_ loc_ type_ UNW_ SLT_ REG - x86_
64_ regnum_ t_ UNW_ TDEP_ BP - x86_
64_ regnum_ t_ UNW_ TDEP_ EH - x86_
64_ regnum_ t_ UNW_ TDEP_ IP - x86_
64_ regnum_ t_ UNW_ TDEP_ LAST_ REG - x86_
64_ regnum_ t_ UNW_ TDEP_ SP - x86_
64_ regnum_ t_ UNW_ X86_ 64_ CFA - x86_
64_ regnum_ t_ UNW_ X86_ 64_ R8 - x86_
64_ regnum_ t_ UNW_ X86_ 64_ R9 - x86_
64_ regnum_ t_ UNW_ X86_ 64_ R10 - x86_
64_ regnum_ t_ UNW_ X86_ 64_ R11 - x86_
64_ regnum_ t_ UNW_ X86_ 64_ R12 - x86_
64_ regnum_ t_ UNW_ X86_ 64_ R13 - x86_
64_ regnum_ t_ UNW_ X86_ 64_ R14 - x86_
64_ regnum_ t_ UNW_ X86_ 64_ R15 - x86_
64_ regnum_ t_ UNW_ X86_ 64_ RAX - x86_
64_ regnum_ t_ UNW_ X86_ 64_ RBP - x86_
64_ regnum_ t_ UNW_ X86_ 64_ RBX - x86_
64_ regnum_ t_ UNW_ X86_ 64_ RCX - x86_
64_ regnum_ t_ UNW_ X86_ 64_ RDI - x86_
64_ regnum_ t_ UNW_ X86_ 64_ RDX - x86_
64_ regnum_ t_ UNW_ X86_ 64_ RIP - x86_
64_ regnum_ t_ UNW_ X86_ 64_ RSI - x86_
64_ regnum_ t_ UNW_ X86_ 64_ RSP
Statics§
Functions§
- _UCD_
access_ ⚠fpreg - _UCD_
access_ ⚠mem - _UCD_
access_ ⚠reg - _UCD_
add_ ⚠backing_ file_ at_ segment - _UCD_
add_ ⚠backing_ file_ at_ vaddr - _UCD_
create ⚠ - _UCD_
destroy ⚠ - _UCD_
find_ ⚠proc_ info - _UCD_
get_ ⚠cursig - _UCD_
get_ ⚠dyn_ info_ list_ addr - _UCD_
get_ ⚠num_ threads - _UCD_
get_ ⚠pid - _UCD_
get_ ⚠proc_ name - _UCD_
put_ ⚠unwind_ info - _UCD_
resume ⚠ - _UCD_
select_ ⚠thread - _U_
dyn_ ⚠cancel - _U_
dyn_ ⚠register - getcontext⚠
- imaxabs⚠
- imaxdiv⚠
- makecontext⚠
- pselect⚠
- select⚠
- setcontext⚠
- strtoimax⚠
- strtoumax⚠
- swapcontext⚠
- unw_
backtrace ⚠ - unw_
create_ ⚠addr_ space - unw_
destroy_ ⚠addr_ space - unw_
flush_ ⚠cache - unw_
get_ ⚠accessors - unw_
get_ ⚠fpreg - unw_
get_ ⚠proc_ info - unw_
get_ ⚠proc_ info_ by_ ip - unw_
get_ ⚠proc_ name - unw_
get_ ⚠reg - unw_
get_ ⚠save_ loc - unw_
getcontext ⚠ - unw_
handle_ ⚠signal_ frame - unw_
init_ ⚠local - unw_
init_ ⚠remote - unw_
is_ ⚠fpreg - unw_
is_ ⚠signal_ frame - unw_
regname ⚠ - unw_
resume ⚠ - unw_
set_ ⚠caching_ policy - unw_
set_ ⚠fpreg - unw_
set_ ⚠reg - unw_
step ⚠ - unw_
strerror ⚠ - wcstoimax⚠
- wcstoumax⚠
Type Aliases§
- __
blkcnt64_ t - __
blkcnt_ t - __
blksize_ t - __
caddr_ t - __
clock_ t - __
clockid_ t - __
daddr_ t - __dev_t
- __
fd_ mask - __
fsblkcnt64_ t - __
fsblkcnt_ t - __
fsfilcnt64_ t - __
fsfilcnt_ t - __
fsword_ t - __gid_t
- __
gwchar_ t - __id_t
- __
ino64_ t - __ino_t
- __
int8_ t - __
int16_ t - __
int32_ t - __
int64_ t - __
int_ least8_ t - __
int_ least16_ t - __
int_ least32_ t - __
int_ least64_ t - __
intmax_ t - __
intptr_ t - __key_t
- __
loff_ t - __
mode_ t - __
nlink_ t - __
off64_ t - __off_t
- __pid_t
- __
pthread_ list_ t - __
pthread_ slist_ t - __
quad_ t - __
rlim64_ t - __
rlim_ t - __
sig_ atomic_ t - __
socklen_ t - __
ssize_ t - __
suseconds64_ t - __
suseconds_ t - __
syscall_ slong_ t - __
syscall_ ulong_ t - __
thrd_ t - __
time_ t - __
timer_ t - __tss_t
- __
u_ char - __u_int
- __
u_ long - __
u_ quad_ t - __
u_ short - __uid_t
- __
uint8_ t - __
uint16_ t - __
uint32_ t - __
uint64_ t - __
uint_ least8_ t - __
uint_ least16_ t - __
uint_ least32_ t - __
uint_ least64_ t - __
uintmax_ t - __
useconds_ t - blkcnt_
t - blksize_
t - caddr_t
- clock_t
- clockid_
t - daddr_t
- dev_t
- fd_mask
- fpregset_
t - fsblkcnt_
t - fsfilcnt_
t - fsid_t
- gid_t
- greg_t
- gregset_
t - id_t
- ino_t
- int_
fast8_ t - int_
fast16_ t - int_
fast32_ t - int_
fast64_ t - int_
least8_ t - int_
least16_ t - int_
least32_ t - int_
least64_ t - intmax_
t - key_t
- loff_t
- mode_t
- nlink_t
- off_t
- pid_t
- pthread_
key_ t - pthread_
once_ t - pthread_
spinlock_ t - pthread_
t - quad_t
- register_
t - sigset_
t - suseconds_
t - time_t
- timer_t
- u_char
- u_int
- u_
int8_ t - u_
int16_ t - u_
int32_ t - u_
int64_ t - u_long
- u_
quad_ t - u_short
- uid_t
- uint
- uint_
fast8_ t - uint_
fast16_ t - uint_
fast32_ t - uint_
fast64_ t - uint_
least8_ t - uint_
least16_ t - uint_
least32_ t - uint_
least64_ t - uintmax_
t - ulong
- unw_
accessors_ t - unw_
addr_ space_ t - unw_
caching_ policy_ t - unw_
context_ t - unw_
cursor_ t - unw_
dyn_ info_ format_ t - unw_
dyn_ info_ list_ t - unw_
dyn_ info_ t - unw_
dyn_ op_ t - unw_
dyn_ operation_ t - unw_
dyn_ proc_ info_ t - unw_
dyn_ region_ info_ t - unw_
dyn_ remote_ table_ info_ t - unw_
dyn_ table_ info_ t - unw_
error_ t - unw_
fpreg_ t - unw_
frame_ regnum_ t - unw_
init_ local2_ flags_ t - unw_
proc_ info_ t - unw_
reg_ states_ callback - unw_
regnum_ t - unw_
save_ loc_ t - unw_
save_ loc_ type - unw_
sword_ t - unw_
tdep_ context_ t - unw_
tdep_ fpreg_ t - unw_
tdep_ save_ loc_ t - unw_
word_ t - ushort
- x86_
64_ regnum_ t