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
  • Issues
  • #1079
Closed
Open
Issue created Nov 28, 2014 by Derek Bruening@derekbrueningContributor

create "tool frontend" library

From [email protected] on February 14, 2013 23:41:35

DR-based tool frontends will typically share a lot beyond just drinjectlib and drconfiglib.

Right now we're considering sharing utf8 support from DrMem's frontend.c with DR's drdeploy.c (xref issue i43).

Plus the strace tool's frontend ends up wanting a pretty exact copy of a subset of DrMem's frontend, leading to:

/* XXX: share as much of this code as possible with drmem's frontend.c.

  • Currently this is all a copy based on frontend.c. *

  • Perhaps we should build a library with a common set of front-end

  • options and features: utf8, path search and absolute conversion

  • and canonicalization, DR location, client lib location, DR and client

  • lib debug vs release, DR and client options, etc. */

    /* FIXME: have an optionsx.h or what? Shared frontend lib could help

    • solve that by providing usage and options parsing for its provided
    • options. */

Original issue: http://code.google.com/p/dynamorio/issues/detail?id=1079

Assignee
Assign to
Time tracking