]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
PR402134 assert fail in mc_translate.c (noteTmpUsesIn) Iex_VECRET on arm64
authorMark Wielaard <mark@klomp.org>
Wed, 19 Dec 2018 19:52:29 +0000 (20:52 +0100)
committerMark Wielaard <mark@klomp.org>
Wed, 19 Dec 2018 19:52:29 +0000 (20:52 +0100)
This happens when processing openssl aes_v8_set_encrypt_key
(aesv8-armx.S:133). The noteTmpUsesIn () function is new since
PR387664 Memcheck: make expensive-definedness-checks be the default.
It didn't handle Iex_VECRET which is used in the arm64 crypto
instruction dirty handlers.

NEWS
memcheck/mc_translate.c

diff --git a/NEWS b/NEWS
index c257f76f47f1f5a9d188fa2a5e2d364722af38dc..e1645eff08239116c0a0f99877325a9c9fa359e5 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -72,6 +72,7 @@ where XXXXXX is the bug number as listed below.
 401822  none/tests/ppc64/jm-vmx fails and produces assembler warnings
 402006  mark helper regs defined in final_tidyup before freeres_wrapper call
 402048  WARNING: unhandled ppc64[be|le]-linux syscall: 26 (ptrace)
+402134  assertion fail in mc_translate.c (noteTmpUsesIn) Iex_VECRET on arm64
 402327  Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13 (DW_OP_drop)
 
 Release 3.14.0 (9 October 2018)
index c24db919f7bbb3422c653e39b0b17cfe6e9c3bee..1e770b32344bcd29022a5d83e07e647952179050 100644 (file)
@@ -8022,6 +8022,7 @@ static inline void noteTmpUsesIn ( /*MOD*/HowUsed* useEnv,
       use info. */
    switch (at->tag) {
       case Iex_GSPTR:
+      case Iex_VECRET:
       case Iex_Const:
          return;
       case Iex_RdTmp: {