Bug 385262 - disInstr(thumb): unhandled instruction: 0xEBAD 0x1CCA
Summary: disInstr(thumb): unhandled instruction: 0xEBAD 0x1CCA
Status: REPORTED
Alias: None
Product: valgrind
Classification: Developer tools
Component: vex (show other bugs)
Version: 3.13.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-01 13:38 UTC by Philippe De Muyter
Modified: 2017-10-01 13:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
patch fixing the bug (1.29 KB, patch)
2017-10-01 13:38 UTC, Philippe De Muyter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe De Muyter 2017-10-01 13:38:04 UTC
Created attachment 108118 [details]
patch fixing the bug

when run by valgrind, my armv7hl executable crashes with the following message of valgrind :

disInstr(thumb): unhandled instruction: 0xEBAD 0x1CCA
==10358==  Illegal opcode at address 0x5900DA3
==10358==    at 0x5900DA2: bsaes_cbc_encrypt (bsaes-armv7.S:1084)

using gdb, this opcode is decoded as :
(gdb) x /i $pc
=> 0x5900da2 <bsaes_cbc_encrypt+34>:    sub.w   r12, sp, r10, lsl #7

A patch is attached