PURIFY Quick Start

xiaoxiao2021-03-06  48

PURIFY instructions

Download

You can download a 15-day trial version on the IBM website. Need registration.

https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?pkgid=&S_SRCID=RATLe-PURIFYLXUX-EVAL&source=RATLe-PURIFYLXUX-EVAL&S_TACT=104AH W42&S_CMP=&S_PKG=CR2AZML&s=z<ype=select&l= ENGLISH International & mtype = INPUT & M = Download & ID = 2004-04-30 03% 3A36% 3A51.735187R & Fam = & cat =

2. Installation, configuration

Tar -zxvf purify.tar.gz

CD PurifyPLUS

.2003A

.06.13 /

./rs_install

Then follow the prompt step by step, there are 2 places to enter, one is the installed path, one is the location of the licequ

3. Configuration

Assume that installing / usr / local / ruff

Modify / etc / profile file to join

Export path = $ path: /usr/local/rational/releases/purify.i386_linux

2.2003A

.06.13;

Export PurifyOptions = "- FOLLOW-Child-Processes = YES -LOG-File = MyLog.% V.% P";

4. Re-compile the program.

Similar to Purify Cc -o Test Test.c

If it is a C program, add -libstdc .

Generally speaking, modifying the Make file.

5. Error check

View the error log. Take a look at mylog. *

6. Error message

Below is the memory information table that Purify can detect:

Memory information

description

Error rating

ABR

Array Bounds Read Array Boundary Read

Level 3

ABW

Array Bounds Write array

level 2

BSR

BEYOND Stack Read

Level 3

BSW

Beyond Stack Write Yue Stack Write

Level 3

Cor

Core Dump Imminent illegal operation

Level 1

FIU

File Descriptors in use file descriptor is used

level 4

FMM

Freeing Mismatch Memory Releases Error Memory

level 2

FMR

Free Memory READ reads within the release

Level 3

FMW

Free Memory Write writes to the released memory

level 2

FNH

Freeing Non Heap Memory releases non-reactor memory

level 2

Fum

Freeing Unallocated Memory releases the memory that is not assigned

level 2

IPR

INVALID POINTER READ illegal pointer reading

Level 1

IPW

INVALID POINTER WRITE illegal pointer

Level 1

MAF

Malloc Failure assigns memory failed

level 4

Miu

Memory in-USE memory is in use

level 4

MLK

Memory Leak memory leak

Level 3

MRE

Malloc Reentancy Error Remalloc

level 2

MSE

Memory Segment Error memory segment error

Level 3

NPR

NULL POINTER READ empty pointer reading

Level 1

NPW

Null Pointer Write Empty Point

Level 1 PAR

Bad parameter error parameters

Level 3

PLK

Potential Leak Potential Memory Lev

Level 3

SBR

Stack Array Bounds Read Stack Array Boundary Read

Level 3

SBW

Stack Array Bounds Write Stack number

level 2

SIG

Signal signal

level 4

Sof

Stack overflow stack overflow

Level 3

UMC

Uninitialized Memory Copy copies uninitialized memory

Level 3

UMR

Uninitialized Memory Read for unmelified memory

Level 3

WPF

WatchPoint Free releases the monitored memory

level 4

WPM

WatchPoint Malloc is monitored memory allocation

level 4

WPN

WatchPoint Entry monitored memory

level 4

WPR

WatchPoint Read is monitored memory read

level 4

WPW

WatchPoint Write is monitored memory

level 4

WPX

WatchPoint EXIT exits the monitored memory

level 4

ZPR

Zero Page Read Zero Page Read

Level 1

ZPW

Zero Page Write Zero Page Write

Level 1

Level 1: fatal mistakes. Level 2: dangerous mistakes. Level 3: Warning Information Level 4: Tips Information (non-wrong)

7. Reference

1.c / c memory problem checklope - Purify Chen Http://blog.9cbs.net/haoel/archive/2003/12/2900.aspx

2. Help with the installation package.

转载请注明原文地址:https://www.9cbs.com/read-80861.html

New Post(0)