ARM9上有回溯跟踪的示例代码吗?
我想写一个代码,它的工作原理类似于ARM9架构上的回溯实用程序 我确实遇到了密码。 但是从上面的代码中,我想知道上面代码中使用的数据结构布局和参数的细节。 有人能解释一下上面的情况吗ARM9上有回溯跟踪的示例代码吗?,arm,stack-trace,embedded-linux,backtrace,Arm,Stack Trace,Embedded Linux,Backtrace,我想写一个代码,它的工作原理类似于ARM9架构上的回溯实用程序 我确实遇到了密码。 但是从上面的代码中,我想知道上面代码中使用的数据结构布局和参数的细节。 有人能解释一下上面的情况吗 提前感谢。在glibc中,它是在dlfcn/dlfcn.h中定义的,看起来像 /* Structure containing information about object searched using `dladdr'. */ typedef struct { __const char *dli_f
提前感谢。在glibc中,它是在dlfcn/dlfcn.h中定义的,看起来像
/* Structure containing information about object searched using
`dladdr'. */
typedef struct
{
__const char *dli_fname; /* File name of defining object. */
void *dli_fbase; /* Load address of that object. */
__const char *dli_sname; /* Name of nearest symbol. */
void *dli_saddr; /* Exact value of nearest symbol. */
} Dl_info;