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
  • !3979

i#3978: Fix decode_cti bug on particular (e)vex byte sequences

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i3978-decode-cti-vex into master Dec 10, 2019
  • Overview 4
  • Commits 1
  • Pipelines 0
  • Changes 7

Fixes a bug in decode_cti() with a (e)vex prefix with its 2nd or 3rd byte also looking like the first byte of a (e)vex prefix where the instruction is considered invalid, crashing the application.

Adds testing of decode_cti() to api.ir by export decode_cti() in DEBUG and BUILD_TESTS builds. Adds a test case that triggers the observed bug without the fix.

Fixes #3978 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i3978-decode-cti-vex