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

i#4774: Add preferred base to DR and drmodtrack interfaces

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i4474-preferred-base into master Mar 10, 2021
  • Overview 3
  • Commits 3
  • Pipelines 0
  • Changes 7

Adds a preferred_base field to the module_data_t struct. There is no compatibility break as DR allocates all such structs.

Adds a preferred_base field to the drmodtrack_info_t struct. There is no compatibility break as it has a struct_size field. Offline drmodtrack files do incur a version bump here, so an old reader will fail when reading a file with the new field. The field is set to a -1 sentinel to aid in determining whether a file has the field or not. This is also done here with the previously-added offset field.

Adds some sanity checks to the corresponding tests.

Fixes #4774 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i4474-preferred-base