Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Intel C++ compiler have bounds checking?

I was wondering, does Intel C++ compiler have bounds checking available? I am working with tons of code evolving for ten years now, and in desperate need for debugging and refactoring. I need any help I can get.

like image 205
Srki Avatar asked Nov 01 '10 11:11

Srki


1 Answers

Intel's compiler has several bounds checking options. E.g.

check-pointers, Qcheck-pointers Determines whether the compiler checks bounds for memory access through pointers.

http://software.intel.com/sites/products/documentation/doclib/iss/2013/compiler/cpp-lin/GUID-35036DDA-62B4-402F-8A21-1201C2706BF3.htm

like image 172
Krazy Glew Avatar answered Oct 05 '22 02:10

Krazy Glew