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

i#2662: Get app args

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged John F.X. Galea requested to merge i2662-get-app-args into master May 13, 2020
  • Overview 129
  • Commits 50
  • Pipelines 0
  • Changes 14

Adds dr_get_app_args() to enable a client to retrieve the locations where command-line arguments of the app reside. C strings of the arguments are retrieved via a new function, namely dr_app_arg_as_cstring(). Also, dr_num_app_args() enables the client to get the number of arguments.

The PR adds support only for Unix and early injection for now.

The gathering of error codes of failed DR API routines is also added with dr_get_error_code().

Issue: #2662.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i2662-get-app-args