Click here to Skip to main content
12,549,003 members (48,329 online)
Rate this:
Please Sign up or sign in to vote.
See more: C++ memory
While reading about memory corruption I came across a solution to detect this problem i.e to use protection/padding. So that overrunning or underrunning may be avoided. This approach will lead to memory overhead and thus performance issues.

I wanted to know if there is any other approach for detecting memory corruptions which is more efficient than the mentioned approach.
Posted 19-Mar-12 0:05am
Updated 19-Mar-12 0:13am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Most profiling tools give information about memory corruption. I have used some profilers. you can find some profilers in this page C++ code profilers[^]
Member 8576081 19-Mar-12 6:55am
Thanx for the reply Rahul. I know that there tools available for detecting corruption errors. I wanted to know more about the approaches used by these tools for detecting the corruption errors.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Member 8576081 19-Mar-12 8:11am
It has used the same approach as mentioned above .
pwasser 19-Mar-12 10:35am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.161021.1 | Last Updated 19 Mar 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100