Summary: | arm + gcc 4.9: segfault on stack extention | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | dimitry <dimitry> |
Component: | vex | Assignee: | Julian Seward <jseward> |
Status: | REPORTED --- | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 3.10 SVN | ||
Target Milestone: | --- | ||
Platform: | Android | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | full log of valgrind crash with --trace-signals=yes |
Description
dimitry
2015-01-12 23:46:51 UTC
Created attachment 90376 [details]
full log of valgrind crash with --trace-signals=yes
This patch fixes SIGSEGV issue: diff --git a/VEX/priv/guest_arm_toIR.c b/VEX/priv/guest_arm_toIR.c index 7cedb7d..9c68e4e 100644 --- a/VEX/priv/guest_arm_toIR.c +++ b/VEX/priv/guest_arm_toIR.c @@ -16530,7 +16530,7 @@ DisResult disInstr_ARM_WRK ( Bool writeback_already_done = False; if (bS == 1 /*store*/ && summary == (2 | 16) && rN == 13 && rN != rD && rN != rD+1 - && bU == 0/*minus*/ && imm8 == 8) { + && bU == 0/*minus*/) { putIRegA( rN, mkexpr(eaT), condT, Ijk_Boring ); writeback_already_done = True; } |