Hi, I developed an MMS application for mobile phone using C language under Linux plat form. I want to solve an array overruns issue. Can any one recommend software for bugs fixing?
When using gcc under Linux, a good tool for identifying memory problems is Valgrind. It can find heap allocated leaks and buffer overflows. Unfortunately, there is not tool I know of that will find overflows in static or auto arrays. Anyone else know of one? Note: At my company, we use boost::array<> instead of "C" style arrays, and we modified the code to check the index (compile time flag to disable). Where practical, we also use vector<>::at() to check the array indeces. - Ranophile