Summary: | arm64: Handle sp, lr, fp as DwReg in CfiExpr | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | Mark Wielaard <mark> |
Component: | general | Assignee: | Julian Seward <jseward> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: | https://bugzilla.redhat.com/show_bug.cgi?id=1923493 | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Handle sp, lr, fp as DwReg in CfiExpr |
Description
Mark Wielaard
2021-03-03 09:45:32 UTC
Created attachment 136337 [details]
Handle sp, lr, fp as DwReg in CfiExpr
commit b92d30bb6de3aec40be9ad368f10f881e2b84ca7 Author: Mark Wielaard <mark@klomp.org> Date: Thu Mar 4 19:24:06 2021 +0100 arm64: Handle sp, lr, fp as DwReg in CfiExpr When copy_convert_CfiExpr_tree sees a DwReg on arm64 we simply call I_die_here; This causes an issue in the case we really do have to handle that case (see https://bugzilla.redhat.com/show_bug.cgi?id=1923493). Handle the stack pointer (sp), link register (x30) and frame pointer (x29), which we already keep in D3UnwindRegs, like we do for other architectures in evalCfiExpr and copy_convert_CfiExpr_tree. https://bugs.kde.org/show_bug.cgi?id=433898 |