Skip to content

Do stack walk based on linked register when pc is null in KSCrash - #430

Merged
chzhij5 merged 1 commit into
Tencent:devfrom
kealdishx:dev-stackcursor-lr
Dec 9, 2019
Merged

Do stack walk based on linked register when pc is null in KSCrash#430
chzhij5 merged 1 commit into
Tencent:devfrom
kealdishx:dev-stackcursor-lr

Conversation

@kealdishx

Copy link
Copy Markdown
Contributor

When a crash happened due null ptr function, current logic will produce an empty stack trace. However, we can still walk from link register to get the rest of the stack trace. For more details, you can see in this pull request.

@chzhij5
chzhij5 merged commit fee6c2e into Tencent:dev Dec 9, 2019
@chzhij5

chzhij5 commented Dec 9, 2019

Copy link
Copy Markdown
Collaborator

nice

@kealdishx
kealdishx deleted the dev-stackcursor-lr branch December 9, 2019 08:55
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.

2 participants