Crate libunwind_sys[][src]

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
__fsid_t
__pthread_cond_s
__pthread_cond_s__bindgen_ty_1__bindgen_ty_1
__pthread_cond_s__bindgen_ty_2__bindgen_ty_1
__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_LEAST8_MAX
INT_LEAST8_MIN
INT_LEAST16_MAX
INT_LEAST16_MIN
INT_LEAST32_MAX
INT_LEAST32_MIN
LITTLE_ENDIAN
NGREG
PDP_ENDIAN
PRIX8
PRIX16
PRIX32
PRIX64
PRIXFAST8
PRIXFAST16
PRIXFAST32
PRIXFAST64
PRIXLEAST8
PRIXLEAST16
PRIXLEAST32
PRIXLEAST64
PRIXMAX
PRIXPTR
PRId8
PRId16
PRId32
PRId64
PRIdFAST8
PRIdFAST16
PRIdFAST32
PRIdFAST64
PRIdLEAST8
PRIdLEAST16
PRIdLEAST32
PRIdLEAST64
PRIdMAX
PRIdPTR
PRIi8
PRIi16
PRIi32
PRIi64
PRIiFAST8
PRIiFAST16
PRIiFAST32
PRIiFAST64
PRIiLEAST8
PRIiLEAST16
PRIiLEAST32
PRIiLEAST64
PRIiMAX
PRIiPTR
PRIo8
PRIo16
PRIo32
PRIo64
PRIoFAST8
PRIoFAST16
PRIoFAST32
PRIoFAST64
PRIoLEAST8
PRIoLEAST16
PRIoLEAST32
PRIoLEAST64
PRIoMAX
PRIoPTR
PRIu8
PRIu16
PRIu32
PRIu64
PRIuFAST8
PRIuFAST16
PRIuFAST32
PRIuFAST64
PRIuLEAST8
PRIuLEAST16
PRIuLEAST32
PRIuLEAST64
PRIuMAX
PRIuPTR
PRIx8
PRIx16
PRIx32
PRIx64
PRIxFAST8
PRIxFAST16
PRIxFAST32
PRIxFAST64
PRIxLEAST8
PRIxLEAST16
PRIxLEAST32
PRIxLEAST64
PRIxMAX
PRIxPTR
PTRDIFF_MAX
PTRDIFF_MIN
SCNd8
SCNd16
SCNd32
SCNd64
SCNdFAST8
SCNdFAST16
SCNdFAST32
SCNdFAST64
SCNdLEAST8
SCNdLEAST16
SCNdLEAST32
SCNdLEAST64
SCNdMAX
SCNdPTR
SCNi8
SCNi16
SCNi32
SCNi64
SCNiFAST8
SCNiFAST16
SCNiFAST32
SCNiFAST64
SCNiLEAST8
SCNiLEAST16
SCNiLEAST32
SCNiLEAST64
SCNiMAX
SCNiPTR
SCNo8
SCNo16
SCNo32
SCNo64
SCNoFAST8
SCNoFAST16
SCNoFAST32
SCNoFAST64
SCNoLEAST8
SCNoLEAST16
SCNoLEAST32
SCNoLEAST64
SCNoMAX
SCNoPTR
SCNu8
SCNu16
SCNu32
SCNu64
SCNuFAST8
SCNuFAST16
SCNuFAST32
SCNuFAST64
SCNuLEAST8
SCNuLEAST16
SCNuLEAST32
SCNuLEAST64
SCNuMAX
SCNuPTR
SCNx8
SCNx16
SCNx32
SCNx64
SCNxFAST8
SCNxFAST16
SCNxFAST32
SCNxFAST64
SCNxLEAST8
SCNxLEAST16
SCNxLEAST32
SCNxLEAST64
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_LEAST8_MAX
UINT_LEAST16_MAX
UINT_LEAST32_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
__FD_ZERO_STOS
__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_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
__LITTLE_ENDIAN
__LONG_DOUBLE_USES_FLOAT128
__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_STATFS64
__STDC_IEC_559_COMPLEX__
__STDC_IEC_559__
__STDC_ISO_10646__
__SYSCALL_WORDSIZE
__TIMESIZE
__USE_ATFILE
__USE_FORTIFY_LEVEL
__USE_ISOC11
__USE_ISOC95
__USE_ISOC99
__USE_MISC
__USE_POSIX
__USE_POSIX2
__USE_POSIX199309
__USE_POSIX199506
__USE_POSIX_IMPLICITLY
__USE_XOPEN2K
__USE_XOPEN2K8
__WORDSIZE
__WORDSIZE_TIME64_COMPAT32
____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_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

_UCD_accessors
_Ux86_64_local_addr_space

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 Definitions

__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
__suseconds_t
__syscall_slong_t
__syscall_ulong_t
__time_t
__timer_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_proc_info_t
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

Unions

__pthread_cond_s__bindgen_ty_1
__pthread_cond_s__bindgen_ty_2
pthread_attr_t
pthread_barrier_t
pthread_barrierattr_t
pthread_cond_t
pthread_condattr_t
pthread_mutex_t
pthread_mutexattr_t
pthread_rwlock_t
pthread_rwlockattr_t
unw_dyn_info__bindgen_ty_1
unw_save_loc__bindgen_ty_1