Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

填偏移量的意义是什么呢 #68

Closed
Ox8BADFOOD opened this issue Sep 14, 2023 · 1 comment
Closed

填偏移量的意义是什么呢 #68

Ox8BADFOOD opened this issue Sep 14, 2023 · 1 comment

Comments

@Ox8BADFOOD
Copy link

两种填写方法
第一种方法:填偏移量
image

第二种方法:不填填偏移量,直接填上偏移量与错误信息内存地址的和,如下图:
image
image

方法一和方法二算出来的都是对的。方法二中的错误地址 = 方法一中的错误信息内存地址 + 偏移量。

问题一:方法一和方法二两种用法是不是都正确?

问题一:在方法一中,我发现 默认 Slide Address 和 错误信息内存地址 填的是一样的。并且log中别的位置的 错误信息内存地址 和 默认 Slide Address 也是一样的,不会变。在方法一中那我是不是可以认为两者等同?真实的错误地址是的错误信息地址加偏移量量?对比方法二,方法一这样拆开填写有什么意义?

这是闪退的堆栈
image
这是起始地址
image

@answer-huang
Copy link
Owner

需要填偏移量主要是为了适配之前 umeng 上收集到的错误信息, 你这个错误应该是系统收集过来的吧 ? 我记得友盟上的数据没这么全.
方法一 和 方法二 都是可以的.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants