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

Passing User Data to Generic Events.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed John F.X. Galea requested to merge github/fork/johnfxgalea/master into master Feb 07, 2018
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 2

This PR is more to show the intended functionality rather than an official request to merge. Code needs to be refactored, but for now I am asking for feedback.

Essentially, the functionality proposed allows the user to register events, where user data is also supplied when the callback function is triggered. More specifically, the PR does this for the drmgr_register_thread_init_event API function.

The proposed functionality would avoid the need to have, say a tls index stored globally, and therefore may allow instantiations of the same component to hook thread init events with different storage locations.

Ideally, the ability to register user supplied data is available for all callbacks associated with generic events, but since this requires some code changes, I am asking for feedback, and whether this functionality is of any use?

Thanks!

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/johnfxgalea/master