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

i#4892: Update basename pointer when path buffer changes

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i4892-execve-relpath-basename into master May 03, 2021
  • Overview 1
  • Commits 2
  • Pipelines 0
  • Changes 3

Fixes a regression from the #1660 (closed) fix which changes the executable_path buffer after most initialization, yet fails to update the executable_basename pointer into that same buffer.

Adds a test by changing the linux.execve64 test to use a relative path for the sub-path, and having that client check for slashes in dr_get_application_name(). Confirmed the new test fails without this fix.

Issue: #1660 (closed), #4892 (closed) Fixes #4892 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i4892-execve-relpath-basename