08-19-2010
Rational® Purify® compatable SW
Hi
Rational® Purify® is a dynamic software analysis tool - helps to clean your own C or C++ code from memory leak problems etc.
Who knows some compatable (my be freeware) software?
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi ,
attempting to purify code on the link line generates a fatal error
like this
#ERROR: (fatal) Cannot find libtest.so in the search path .
command line:
-------------
purify -show-directory=yes -always-use-cache-dir -cache-dir=/ppic/users/avadhani/sgi/pure /usr/bin/CC -n32 -mips3... (2 Replies)
Discussion started by: avadhani
2 Replies
2. Programming
Hi,
I am facing problem while doing build on AIX using xlC compiler. We are using purify. Purify fails to instrument the a few libraries. Interestingly these are not developed by us and are 3rd party SW components. Can someone let me know how to proceed with the build?
Here is the output... (0 Replies)
Discussion started by: asutoshch
0 Replies
3. Programming
Hi,
I am using purify to find memory leak in my process.
When I run the instrumented program I get error
I donot have this file in the specified directory. Instead I have following files in the directory /usr/lib/nls/loc/locales.2
What should I do in such case? I undersatnd... (1 Reply)
Discussion started by: shriashishpatil
1 Replies
4. AIX
Hi, i'm trying to work with a trial version of PurifyPlus 7 with fixpack 10 from Rational that needs to run over an AIX 5.3 platform, 64-bit. I had success on compiling and running the hello_world programs and even a hash test program i found over the net, but purify can achieve the same with the... (0 Replies)
Discussion started by: chrispav
0 Replies
5. UNIX for Dummies Questions & Answers
I totally new to UNIX and I have a newbie question.
I have 2 servers, AIX and Solaris and I need to be on just one platform.
both serves have 2 physical drives, with the OS on one and data on the other.
can I take the data drive from the AIX server and mount it on the Solaris server?
or would... (2 Replies)
Discussion started by: AusTan24
2 Replies
6. Programming
Hi
I am facing a problem while doing Purify Instrumentation of the Informix ESQL-C files. The system is RedHat Linux 5.6 and compiler is gcc.
I have set both CC and INFORMIXC variables to "purify gcc" and compiled the source code. All the .c and .ec files were compiled successfully,
but... (0 Replies)
Discussion started by: nsinha
0 Replies
7. AIX
I just installed IBM PurifyPlus on IBM AIX 5.3 and they suggested me to run the command through the following one:
% purify cc -g hello_world.c
but it's giving me the message that :
purify command not found
I need your help
Thanks In Advance (10 Replies)
Discussion started by: SteAlma
10 Replies
8. AIX
When I use this command:
purify gcc -g hello_world.c
to instrument a C program with Purify, I get this error :
Purify engine:Error: The /usr/lib/syscalls.imp file either does not exist or has incorrect permissions.You may need to install bos.adt.syscalls
I understand that I need to install... (11 Replies)
Discussion started by: SteAlma
11 Replies
9. AIX
when i instrument ourify i am getting error like
.*** OI_init: Error, cannot connect to X server
Purify or PureCoverage slave: Warning: Can't open display "localhost:0", using tty mode.
. Got it]
I am using AIX1.6 OS
i have xwin32 installed in my windows.. (1 Reply)
Discussion started by: greenworld123
1 Replies
LEARN ABOUT OSX
curs_memleaks
curs_memleaks(3X) curs_memleaks(3X)
NAME
_nc_freeall _nc_free_and_exit - curses memory-leak checking
SYNOPSIS
#include <curses.h>
void _nc_freeall(void);
void _nc_free_and_exit(int);
DESCRIPTION
These functions are used to simplify analysis of memory leaks in the ncurses library. They are normally not available; they must be con-
figured into the library at build time using the --disable-leaks option. That compiles-in code that frees memory that normally would not
be freed.
Any implementation of curses must not free the memory associated with a screen, since (even after calling endwin), it must be available for
use in the next call to refresh. There are also chunks of memory held for performance reasons. That makes it hard to analyze curses ap-
plications for memory leaks. To work around this, one can build a debugging version of the ncurses library which frees those chunks which
it can, and provides these functions to free all of the memory allocated by the ncurses library.
The _nc_free_and_exit function is the preferred one since some of the memory which is freed may be required for the application to continue
running. Its parameter is the code to pass to the exit routine.
RETURN VALUE
These functions do not return a value.
PORTABILITY
These functions are not part of the XSI interface.
SEE ALSO
curses(3X).
curs_memleaks(3X)