Add size= and offset= qualifiers to leak and possible leak suppressions
#759 geöffnet am 28. Nov. 2014
Repository-Metriken
- Stars
- (2.727 Stars)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
From rnk@google.com on January 19, 2012 16:01:18
This is to support issue #741 . For leak suppressions where we don't have good symbols, as in issue #18 , it can help make the suppression more precise without resorting to something brittle like mod+offs.
The size= qualifier is fairly obvious in its simplest form. We could support a syntax for alternate sizes, such as size=18|24|32, and perhaps ranges (size=32<=x<=48)?.
The offset qualifier is useful for possible leaks where we have something like an SLIST_ENTRY embedded in a struct, as occurred in issue #18 ole32!EventEntry::CreatePoolEntry.
Original issue: http://code.google.com/p/drmemory/issues/detail?id=759