C ++ ARM堆栈行走 [英] C++ ARM stack walking

查看:82
本文介绍了C ++ ARM堆栈行走的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好, 
$


我使用的堆栈行走x86_64:

CONTEXT context_record = * pExceptionInfo-> ContextRecord;



我想知道这是否支持ARM设备,


context_record。 Eip / context_record.Rip
在这种情况下不存在。

也许有一个不同的变量(注册?)要使用,但我不知道它是什么。



参考:
https://github.com/mkn/mkn.kul/blob/master/os/win/inc/kul/signal.hpp

解决方案

嗨Dekken,


由于我们的论坛正在讨论VS一般问题,例如如何设置/配置Visual Studio和Visual Studio工具。


您的问题是关于 ARM 开发。我把它移到了C ++开发论坛。希望你能在那里得到一个好的答案。


感谢您的理解。



最好的问候,


Lake  Xiao






Hi there, 

I have stack walking for x86_64 using:
CONTEXT context_record = *pExceptionInfo->ContextRecord;

I'm wondering if this is supported for ARM devices,

context_record.Eip/context_record.Rip do not exist in this situation.
Perhaps there is a different variable (register?) to use, but I do not know what it is.

Reference: https://github.com/mkn/mkn.kul/blob/master/os/win/inc/kul/signal.hpp

解决方案

Hi Dekken,

Since Our forum is discussing about VS general question like how to set/configure Visual Studio and Visual Studio tools.

And your question is about ARM development. I moved it to the C++ development forum. Hope you could get a good answer there.

Thanks for your understanding.

Best Regards,

Lake  Xiao




这篇关于C ++ ARM堆栈行走的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆