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

i#3106: add analysis_tool_t::initialize()

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i3106-analyzer-init into master Dec 20, 2018
  • Overview 3
  • Commits 2
  • Pipelines 0
  • Changes 14

Adds a separate analysis_tool_t::initialize() method to better handle tool initialization that can fail, separating it out from the constructor. This simplifies subclassing as well.

Updates the view_t and opcode_mix_t tools to move their module mapping and other code into initialize(). Leaves updating the simulator tools for future work.

Changes raw2trace_directory_t to return error strings instead of aborting the process, and splits its constructor from new initialize() and initialize_module_file() methods.

Fixes #3106 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i3106-analyzer-init