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

i#4704: Update thread IBT on exit due to delete

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i4704-update-ibt-on-del-exit into master Feb 02, 2021
  • Overview 2
  • Commits 2
  • Pipelines 0
  • Changes 4

When an indirect branch lookup table (IBT) is resized, the old table is filled with "target deleted" markers. Another thread that hits in the table is redirected to a cache exit due to the deleted marker. However, previously that thread would not update its thread-local pointer to the table on such an exit; it would only update on an actual miss in the table. This can lead to repeated cache exits on hits until a miss is reached.

The problem is solved here with an explicit update of all tables on a target-deleted exit.

Tested on "bin32/drrun -disable_traces -shared_bb_ibt_tables -shared_ibt_table_bb_init 2 -- suite/tests/bin/linux.signest" on ARM.

Fixes #4704 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i4704-update-ibt-on-del-exit