mirror of
https://github.com/intel/linux-sgx
synced 2026-06-08 14:49:32 +00:00
c505e6129a
Added support for Reproducible Enclave Build using Docker file. Added support for Intel AVX-512 instructions and Intel SHA Extensions New Instructions (SHA-NI) in trusted libraries. Support both EPID and ECDSA based quote for quoting related interfaces in sgx_uae_service library. Updated key exchange library to support both EPID and ECDSA based remote attestation. Support new interface to check platform information blob from remote attestation response message. Fixed bugs. Signed-off-by: Li, Xun <xun.li@intel.com>
55 lines
1.7 KiB
TeX
55 lines
1.7 KiB
TeX
\documentclass{article}
|
|
\usepackage[fancyhdr,pdf]{latex2man}
|
|
|
|
\input{common.tex}
|
|
|
|
\begin{document}
|
|
|
|
\begin{Name}{3}{unw\_backtrace}{David Mosberger-Tang}{Programming Library}{unw\_backtrace}unw\_backtrace -- return backtrace for the calling program
|
|
\end{Name}
|
|
|
|
\section{Synopsis}
|
|
|
|
\File{\#include $<$libunwind.h$>$}\\
|
|
|
|
\Type{int} \Func{unw\_backtrace}(\Type{void~**}\Var{buffer}, \Type{int}~\Var{size});\\
|
|
|
|
\File{\#include $<$execinfo.h$>$}\\
|
|
|
|
\Type{int} \Func{backtrace}(\Type{void~**}\Var{buffer}, \Type{int}~\Var{size});\\
|
|
|
|
\section{Description}
|
|
|
|
\Func{unw\_backtrace}() is a convenient routine for obtaining the backtrace for
|
|
the calling program. The routine fills up to \Var{size} addresses in the array
|
|
pointed by \Var{buffer}. The routine is only available for local unwinding.
|
|
|
|
Note that many (but not all) systems provide practically identical function
|
|
called \Func{backtrace}(). The prototype for this function is usually obtained
|
|
by including the \File{$<$execinfo.h$>$} header file -- a prototype for
|
|
\Func{backtrace}() is not provided by \Prog{libunwind}. \Prog{libunwind} weakly
|
|
aliases \Func{backtrace}() to \Func{unw\_backtrace}(), so when a program
|
|
calling \Func{backtrace}() is linked against \Prog{libunwind}, it may end up
|
|
calling \Func{unw\_backtrace}().
|
|
|
|
\section{Return Value}
|
|
|
|
The routine returns the number of addresses stored in the array pointed by
|
|
\Var{buffer}. The return value may be zero to indicate that no addresses were
|
|
stored.
|
|
|
|
\section{See Also}
|
|
|
|
\SeeAlso{libunwind(3)},
|
|
\SeeAlso{unw\_step(3)}
|
|
|
|
\section{Author}
|
|
|
|
\noindent
|
|
David Mosberger-Tang\\
|
|
Email: \Email{dmosberger@gmail.com}\\
|
|
WWW: \URL{http://www.nongnu.org/libunwind/}.
|
|
\LatexManEnd
|
|
|
|
\end{document}
|