Questions tagged [purify]

30 questions
24
votes
5 answers

Valgrind vs Purify

Which one is better on Linux? Valgrind or Purify What is your opinion of using them?
godfryd
  • 537
  • 1
  • 4
  • 12
17
votes
10 answers

64 bit tools like BoundsChecker & Purify

For many years I have used two great tools BoundsChecker & Purify, but the developers of these applications have let me down, they no longer put effort into maintaining them or developing them. We have corporate accounts with both companies, and…
titanae
  • 2,259
  • 2
  • 21
  • 31
4
votes
1 answer

Rational PurifyPlus: where to buy? Any experience with alternatives?

I have been looking on the webs for a possibility to purchase Rational PurifyPlus for Windows. In our company, we have been using Purify in the past and want to replace it with licenses for the current version because we need to support Windows…
DrGlitch
  • 136
  • 11
3
votes
2 answers

Does Valgrind have an API like Purify/Quantify that lets you disable data recording?

Something like this Purify/Quantify function: quantify_stop_recording_data()
Badmanchild
  • 990
  • 9
  • 18
3
votes
1 answer

Purify's Uninit Memory Read (UMR) on class/structure padding

I experience quite annoying side-effect of class/structure padding with Purify. E.g. struct something { int field1; char field2; }; /* ... */ struct something smth, smth2; smth.field1 = 1; smth.field2 = 'A'; smth2 = smth; The last line…
Dummy00001
  • 16,630
  • 5
  • 41
  • 63
3
votes
0 answers

How to integrate Purify into Hudson CI?

I have a Hudson CI system set up and for the moment it is used for building a project and running some unit tests. My next step is to integrate the memory leak detector Purify into the build cycle. Now I want to start the unit tests also inside…
Martin
  • 968
  • 3
  • 10
  • 19
3
votes
2 answers

HTML Line Controller in Javascript

I have a manipulated HTML text like this: Lorem ipsum dolor sit amet
Consectetur adipisicing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. I need to convert these lines into this:

Lorem…

Digerkam
  • 1,826
  • 4
  • 24
  • 39
3
votes
4 answers

Is my anti XSS method OK for allowing user HTML in PHP?

I am working on finding a good way to make user submitted data, in this case allow HTML and have it be as safe and fast as I can. I know EVERY SINGLE PERSON on this site seems to think http://htmlpurifier.org is the answer here. I do agree…
JasonDavis
  • 48,204
  • 100
  • 318
  • 537
2
votes
0 answers

Fraction of access to dynamically allocated memory

I need to find an estimate of what fraction of all memory accesses from an application (written in "C/"C++") goes to dynamically allocated memory (heap/mmap-ed memory regions). Since an estimate should be good enough I was wondering if anybody knows…
Arka
  • 955
  • 2
  • 12
  • 21
2
votes
4 answers

Is there a dynamic checking utility that can flag overflow of static buffer in struct?

Is there a dynamic checking utility that can flag the following bug? Valgrind cannot. Can Purify or Insure++? This is on Linux Ubuntu latest version. struct A { char buff1[8]; int jj; char buff2[8]; int ii; char buff3[8]; }…
Robert R Evans
  • 177
  • 1
  • 11
2
votes
1 answer

Can visual c++ 2013 do what Purify and Quntify do?

We develop a console application using VC 6.0, Purify, PC-Lint, and Quantify on Windows XP. VC6 will not work on Windows 7 and 8. I have looked at our options for development environments if we were to upgrade to Windows 8. Our application is…
2
votes
2 answers

C : Parsing options the right way

I'm trying to parse two options in a C program. The program is called like this: ./a.out [OPTIONS] [DIRECTORY 1] [DIRECTORY 2] The program syncs two directories and has two options. (-r) for recursive syncing (folder inside folder), and (-n) to…
Alex
  • 2,036
  • 4
  • 22
  • 31
2
votes
1 answer

How to exclude shared library from instrumentalization with purify?

Instrumentalizing C Code that is linked against Oracle's libclntsh leads to crashes when running the resulting program. The program is terminated with a 'Illegal Instruction' signal. The bug is present for at least some versions of Oracle 11g and…
maxschlepzig
  • 35,645
  • 14
  • 145
  • 182
1
vote
1 answer

Is there a known issue with throwing exceptions in g++ with Purify causing SIGABRT?

Actually, my real question is: is there anything wrong with the indicated line in the following code ("Causes SIGABRT"): char* myFunc(char *param) { char* leaked = new char[80]; // Intentionally leaked if (param == NULL) throw…
Ogre Psalm33
  • 21,366
  • 16
  • 74
  • 92
1
vote
1 answer

Lucene librairy for purify a text (plurial, verbs...)

I would like some help to use Lucene in my Java App to simplify a text. I already did it myself but I don't have solution for verbs and plurial. How can I process ?
1
2