PR402134 assert fail in mc_translate.c (noteTmpUsesIn) Iex_VECRET on arm64

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.
This commit is contained in:
Mark Wielaard 2018-12-19 20:52:29 +01:00
parent e4dde1327e
commit a751b5be01
2 changed files with 2 additions and 0 deletions

1
NEWS
View File

@ -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)

View 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: {