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

fix(minidump): Don't unapply heuristic for context frame #504

Merged
merged 1 commit into from
Feb 17, 2022

Conversation

loewenheim
Copy link
Contributor

We unconditionally inverted a Breakpad heuristic for ARM stack frames, not taking into account that the heuristic was never applied to the first frame in the stack. This led to some incorrect instruction addresses in ARM context frames.

@loewenheim loewenheim requested a review from a team February 16, 2022 15:19
@loewenheim loewenheim changed the title fix(minidump): Don't apply heuristic for context frame fix(minidump): Don't unapply heuristic for context frame Feb 16, 2022
@Gankra
Copy link
Contributor

Gankra commented Feb 16, 2022

can confirm from experience: neither breakpad nor rust-minidump touch the context's instruction since raw rip/eip/pc doesn't have the same "resume point vs logically being executed point" problem.

@loewenheim loewenheim merged commit 806011c into master Feb 17, 2022
@loewenheim loewenheim deleted the fix/breakpad-heuristic-arm branch February 17, 2022 11:42
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

Successfully merging this pull request may close these issues.

None yet

3 participants