Bug 201118 - Welcome mat for purify users
Summary: Welcome mat for purify users
Status: RESOLVED NOT A BUG
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-22 16:59 UTC by Dan Kegel
Modified: 2023-01-18 17:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Kegel 2009-07-22 16:59:11 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

The Valgrind doc might benefit from a section for people 
used to Purify.

For example:

Projects that use both Purify and Valgrind (say, one on Windows
and one on Mac and Linux) might like to use a uniform set of
names for memory access errors.  It'd be nice if the language
purify and valgrind used to describe their warnings were more
uniform, and in particular, if valgrind could be told to tag
each error using the same TLA as Purify.   A few purify error types are

UMR (Uninitialized memory read)
UMW (Uninitialized memory write)
MLK (Memory leak)
FMR (Free memory read)
FUM (Freeing unallocated memory)
FNH (Freeing non-heap memory)
NPW (Null pointer write)
NPR (Null pointer read)

This is petty because projects in this situation can trivially
write a sed script to do this, and impossible because there isn't
a one-to-one mapping between the errors found by the two products.
But perhaps a best effort script could be given in the documentation.
Comment 1 Tom Hughes 2009-07-22 17:09:12 UTC
Why pick on purify for this special treatment? What about other free and/or commercial products...

Should we tag each message with codes to match each of them? That might quickly get somewhat out of hand...
Comment 2 Dan Kegel 2009-07-22 17:41:06 UTC
I'd be happy with a section in the doc for each competing tool,
welcoming its users to valgrind.  Note that my suggested resolution
was a sed script in the documentation, and we could provide
one of those for each competing tool.

I only mention purify because that's the competing tool we
happen to use alongside valgrind.  (We also use Coverity,
but that's not quite a competitor.)
Comment 3 Paul Floyd 2023-01-18 17:18:40 UTC
I think that this is now obsolete.