Questions tagged [purify]
30 questions
1
vote
1 answer
Purify revealed a potential free memory read when using std::list::remove()
Purify revealed a potential free memory read when using std::list::remove(). I noticed that std::list::remove() uses the type's operator== to do the comparison. However, what I have also noticed is that if the first element in the list is passed to…

Engineer2021
- 3,288
- 6
- 29
- 51
1
vote
1 answer
Rational tools Purify/Quantify finding pdb files
Do the rational tools follow the _NT_SYMBOL_PATH to find .pdb files? It seems from my experience that they are not and that the .pdb files need to be collocated with the .dll's and .exe's I am trying to intrument.

David St Denis
- 813
- 6
- 9
1
vote
1 answer
add class automatically img object with htmlpurifier
firstly sorry for my broken english.
before purify:
after purify:
how can i do with html purifier?



Arlong
- 312
- 3
- 14
1
vote
1 answer
How can I know if an executable was incrementally linked or not?
I'm trying to use Purify 6 to analyze a memory corruption in one of our executables built with VC++ 2003 (7.1).
When I instrument the binary with the command:
purify /Replace=yes /Run=no myprog.exe
The instrumentation aborts telling me the…

bltxd
- 8,825
- 5
- 30
- 44
0
votes
1 answer
purify on Suse Linux
I am having trouble running Purify on Suse Linux. Here are the version details:
/apps/purifyplus_7.0.1/releases/purify.i386_linux2.7.0.1/purify -version
Version 7.0.1 091008 Linux
cat /etc/SuSE-release
SUSE Linux Enterprise Server 10…

Raj
- 708
- 3
- 10
- 21
0
votes
0 answers
How to purify html5 with php?
Possible Duplicate:
HTML filter that is HTML5 compliant
I've been searching for days now and cannot find the answer to it.
Is there any purifier written in PHP for html5?
To clarify - by purify I mean filter for HTML5 which converts special…

user398341
- 6,339
- 17
- 57
- 75
0
votes
1 answer
Non-static method Stevebauman Purify clean()
Non-static method Stevebauman\Purify\Purify::clean() should not be
called statically
Inside the class store:
$req = Purify::clean($request-\>except('\_token', '\_method'));
public function store(Request $request)
{
$req =…

Zakariae Rouane
- 1
- 1
0
votes
1 answer
HTML Purifier: How to prevent from removing href attribute of anchor tags
I am stuck in the HTML Purifier configuration to not removed any href attribute of anchor tags.
Current output:
Expected output: (with href attr)
Below is my HTML Purifier function:
function html_purify($content)
{
if…

zhenkai
- 3
- 1
0
votes
1 answer
Is there an automated way to convert files from .pv to .log?
Is there a way to convert a .pv file to a text file apart from opening each one with purify -view and then exporting it?
I have lots of .pv generated files from running lots of tests with my executable instrumented with Rational's Purify. I know…
0
votes
5 answers
Rational Purify failing to jump to memory leaks
So my company uses a delightfully buggy program called Rational Purify (as a plugin to Microsoft Visual Developer Studio) to manage memory leaks. The program is deigned to let you click on a memory leak after you have encountered it, and then jump…

Holtorf
- 1,451
- 4
- 21
- 41
0
votes
1 answer
Can purify find out access violation on stack variables?
Currently I am using Valgrind to check memory leak and take Purify as an alternative. Valgrind can find out the access violation on an array created in heap but not in stack.
char* a = static_cast(malloc(sizeof(char) * 5));
a[7] =…

Gavin Chan
- 55
- 8
0
votes
1 answer
How to avoid the following purify detected memory leak in C++?
I am getting the following memory leak.Its being probably caused by std::string.
how can i avoid it?
PLK: 23 bytes potentially leaked at 0xeb68278
* Suppressed in /vobs/ubtssw_brrm/test/testcases/.purify [line 3]
* This memory was allocated…

abhi4eternity
- 448
- 3
- 8
- 19
0
votes
1 answer
How to interface Purify into Scons?
I have a Makefile that has various calls to scons.
scons "--jobs=8" -f SConstruct
The SCons command generates a line similar to the following:
g++ -o buildversion.o -c -c -g -fPIC buildversion.cc
How do you interface Purify into this mix? I'm…

user2569618
- 517
- 3
- 16
- 42
0
votes
1 answer
Handling COR dump issue with purify
I an instrumenting a C++application using IBM purify and I get the issue COR dump and my program aborts although when run from terminal it runs fine. Can anyone tell me what is this COR dump and how to handle with it?
Platform: RHEL 64bit
Thanx,

sud03r
- 19,109
- 16
- 77
- 96
-1
votes
3 answers
Incorrect memory leak in purify?
I ran purify on my code which runs in Solaris and it shows lot of memory leaks.
But I checked the code and most of the leaks seem to be invalid.
For eg,
File1.cpp
Obj* getMyObj()
{
Obj* obj = NULL;
if(condition)
{
obj = new…

cppcoder
- 22,227
- 6
- 56
- 81