PurifyMarkAsInitialized

Example       Related Topics

Description

Marks a block of memory as initialized.

Syntax

int PurifyMarkAsInitialized(void *addr, int size)

 

addr

The address of the memory block you want to initialize.

size

The number of bytes that you want to initialize in the memory block.

Returns

0

 

Notes

§      Use this function only when you are certain that Purify has failed to recognize that a memory block is initialized. For example, if Purify reports an Uninitialized Memory Read (UMR) message that you know is incorrect, you can use this function to bypass the error.

(C) Copyright IBM Corporation 1992, 2010.