Bug 357338

Summary: disInstr(arm64): unhandled instruction 0x5E140020
Product: [Developer tools] valgrind Reporter: satyanarayana koneru <satyakoneru.iiith>
Component: memcheckAssignee: Julian Seward <jseward>
Status: RESOLVED FIXED    
Severity: grave CC: satyakoneru.iiith, tom
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Android   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description satyanarayana koneru 2015-12-30 14:18:01 UTC
Android M - 6.0 Arm64
Valgrind - 3.11.0.SVN.aosp

Valgrind terminating for sha1h , sha1c etc ( sha*) with the below error all the time.

disInstr(arm64): unhandled instruction 0x5E140020
disInstr(arm64): 0101'1110 0001'0100 0000'0000 0010'0000


Reproducible: Always

Steps to Reproduce:
1. Build executable which loads libcrypto.so generated on Android 6.0
2. Run valgrind  ( valgrind < executable> )


Actual Results:  
Error occurs and process terminated.

Expected Results:  
Valgrind should not be terminated.

Assembly code with instructions at the below location.

https://android.googlesource.com/platform/external/boringssl/+/d9e397b599b13d642138480a28c14db7a136bf05/linux-aarch64/crypto/sha/sha1-armv8.S
Comment 1 Julian Seward 2016-07-18 06:36:08 UTC
Fixed (all SHA* instructions) in vex r3225, tests in valgrind r15908.