Purify API functions

Related Topics

The Rational Purify error and coverage monitoring API functions give you greater control over tracking errors in native-compiled (unmanaged) program code.

For .NET and managed Visual C++ programs use the Rational PureAPI functions.

The Purify API consists of the following functions:

Set memory state functions

PurifyMarkAsInitialized

PurifyMarkAsUninitialized

 

Test memory state functions

PurifyAssertIsReadable

PurifyAssertIsWritable

PurifyIsInitialized

PurifyIsReadable

PurifyIsWritable

 

Corruption detection functions

PurifySetLateDetectScanCounter

PurifySetLateDetectScanInterval

PurifyHeapValidate

 

Memory leak functions

PurifyAllInuse

PurifyClearInuse

PurifyNewInuse

PurifyAllLeaks

PurifyClearLeaks

PurifyNewLeaks

 

Custom Memory Allocation Support Functions

PurifyPostAlloc

PurifyPostDidAlloc

PurifyPostFree

PurifyPostGetSize

PurifyPostHeapMinimize

PurifyPostRealloc

PurifyPreAlloc

PurifyPreDidAlloc

PurifyPreFree

PurifyPreGetSize

PurifyPreHeapMinimiize

PurifyPreRealloc

Handle functions

PurifyAllHandlesInuse

PurifyNewHandlesInuse

 

Purify status functions

PurifyDescribe

PurifyIsRunning

PurifyPrintf

PurifyWhatColors

 

Coverage functions

CoverageAddAnnotation

CoverageClearData

CoverageDisableRecordingData

CoverageIsRecordingData

CoverageIsRunning

CoverageSaveData

CoverageStartRecordingData

CoverageStopRecordingData

 

Note:

§      The error and coverage monitoring API functions are disabled in the View menu for memory profiling runs.

(C) Copyright IBM Corporation 1992, 2010.