[DynInst_API:] [dyninst/dyninst] 20c1c8: x86: handle disambiguation between XOP prefix and ...


Date: Fri, 31 May 2024 15:14:52 -0700
From: Kirill Batuzov <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 20c1c8: x86: handle disambiguation between XOP prefix and ...
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: 20c1c899be22332135b8b82ce0596db425f9a24e
      https://github.com/dyninst/dyninst/commit/20c1c899be22332135b8b82ce0596db425f9a24e
  Author: Kirill Batuzov <43408219+batuzovk@xxxxxxxxxxxxxxxxxxxxxxxx>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M common/src/arch-x86.C

  Log Message:
  -----------
  x86: handle disambiguation between XOP prefix and POP instruction (#1754)

0x8f can be either the first byte of XOP prefix, or the opcode of POP instruction. The disambiguation is resolved by map_select field of XOP's second byte. If it is XOP prefix, than the field should be from [0x8, 0x1f] range. Otherwise it is ModRM byte, and 0x8f is an opcode. The only instruction with this opcode is POP, and it requires Reg filed of ModRM to be 0.



To unsubscribe from these emails, change your notification settings at https://github.com/dyninst/dyninst/settings/notifications
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 20c1c8: x86: handle disambiguation between XOP prefix and ..., Kirill Batuzov <=