Memory corruption occurs when using memcpy and Purify on some Sun machines.

Technote (troubleshooting)


Memory corruption occurs when using memcpy and IBM® Rational® Purify® on some Solaris® machines. Some characters or data are replaced with ASCII character 255, which in most fonts looks like a lower-case y with an umlaut (two dots) over it: ÿ.


This problem occurs when the version of memcpy that comes from has been instrumented.

Resolving the problem

The library itself is an auxiliary library, meaning that it is optional, and provides optimised, sometimes hand-coded functional replacements for many memory functions defined in, including the memcpy function.

The version of memcpy from is not supported with Purify.

To resolve this issue, follow these steps:

  1. Specify the -PROCESS_DT_AUX_ENTRIES=false switch either on the Purify command
    line or in the PURIFYOPTIONS environment variable.
  2. After specifying the switch, rebuild the binary under test with Purify to ensure that the libc library has been instrumented correctly without auxiliary dependencies.

The - PROCESS_DT_AUX_ENTRIES=false switch creates an instrumented application that makes no reference at all to

Historical Number


Document information

More support for:

Rational Purify

Software version:


Operating system(s):


Reference #:


Modified date:


Translate my page

Content navigation