Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

frapuv - next phase

alon_b_
Beginner
311 Views

Hey,

I found this wonderful flag (-ftrapuv) which helped me determine that my huge program has some uninitialized stack variables ( producing different results with & without that flag), the question is, what can I do to find those variables? I do not know the code and it's huge.

I have every intel tool at my disposal..

 

Thanks,

Alon

0 Kudos
1 Reply
jimdempseyatthecove
Honored Contributor III
311 Views

You might try http://www.valgrind.org/

The -ftrapuv won't catch all the circumstances of uninitialized variable use error.

Jim Dempsey

0 Kudos
Reply