Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dynamorio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,467
    • Issues 1,467
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 44
    • Merge requests 44
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DynamoRIO
  • dynamorio
  • Merge requests
  • !4568

i#4567: Handle instructions with a single source operand that's an AVX-512 mask register in AT&T style disassembly

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/khuey/disassembly_evex_att into master Nov 30, 2020
  • Overview 12
  • Commits 4
  • Pipelines 0
  • Changes 2

Created by: khuey

The mask register is always the first source operand. i here is stale, the result of previous loop. The instr_get_src correctly uses a hardcoded zero. But instr_info_opnd_type reuses i and dies if the instruction has a single source operand (because i is always out of range). is_evex_mask_pending is not ever set for Intel style disassembly which is why this bug only affects AT&T syntax.

drdisas -syntax att 62 f2 fe 48 28 c9 will trigger this bug.

This is tested in the (currently ifdefed out) binutils AVX-512 tests.

Fixes #4567 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/khuey/disassembly_evex_att