DynamoRIO / DynamoRIO/dynamorio

duplicate tool names listed for -t help message in re-used install dir due to appending to file

Open
#1,824 1 comment 0 reactions 0 assignees View on GitHub
Component-Build Component-DRTool good first issue help wanted Priority-Low
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 18h
Merged PRs (30d)
30

Description

I have an install dir into which I've done "make install" many times. The
tools/list\* files seem to accumulate duplicate names:

```
% /work/dr/git/exports/bin64/drrun

ERROR: no app specified

USAGE: drrun [options]
or: drrun [options] --
or: drrun [options] [DR options] --
or: drrun [options] [DR options] -c [client options] --
or: drrun [options] [DR options] -t [tool options] --
available tools include: drcpusim, drcachesim, drltrace, drcov, drcpusim, drcachesim, drltrace, drcov, drcpusim, drcachesim, drltrace, drcov, drcpusim, drcachesim, drltrace, drcov, drcpusim, drcachesim, drltrace, drcov, drcpusim, drcachesim, drltrace, drcov, drcpusim, drcachesim, d
Run with -help to see drrun option list

% head /work/dr/git/exports/tools/list64
drcpusim
drcachesim
drltrace
drcov
drcpusim
drcachesim
drltrace
drcov
drcpusim
drcachesim

% wc /work/dr/git/exports/tools/list64
76 76 665 /work/dr/git/exports/tools/list64
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.