DynamoRIO / DynamoRIO/drmemory

Add size= and offset= qualifiers to leak and possible leak suppressions

Open
#759 1 comment 0 reactions 0 assignees View on GitHub
Component-LeakCheck Component-Suppression help wanted Migrated Priority-Medium Type-Feature
Dominant language
C
Stars
2.7k
Forks
290
PR merge metrics
No merged PRs in 30d

Description

_From [rnk@google.com](https://code.google.com/u/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_

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.