Closed
Bug 823363
Opened 12 years ago
Closed 11 years ago
DFD: a tool for detecting double-frees
Categories
(Core :: General, defect)
Core
General
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: n.nethercote, Unassigned)
Details
Attachments
(1 file)
34.55 KB,
text/plain
|
Details |
DFD will complain if you: - free()/realloc() a heap block that has already been freed, or - free()/realloc() a non-heap-block pointer. It's currently implemented as a hacked-up version of DMD. Replace memory/replace/dmd/DMD.cpp with the copy of DMD.cpp in the attachment. (I did it this way because a patch against DMD.cpp would bit-rot very quickly.) Build and run it just like DMD (see https://wiki.mozilla.org/Performance/MemShrink/DMD for instructions). Yes, all the names like --enable-dmd and $DMD are unchanged. It runs significantly slower than a normal build, but should be moderately usable. Output goes to /tmp/out.dfd or /data/local/tmp/out.dfd.
Reporter | ||
Updated•12 years ago
|
OS: Linux → All
Hardware: x86_64 → All
Reporter | ||
Comment 1•11 years ago
|
||
This isn't going anywhere.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•