Click here to Skip to main content
Rate this: bad
good
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 1:05am
Edited 19-Mar-12 1:13am
Slacker00775.8K
v2
Rate this: bad
good
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[^]
  Permalink  
Comments
Member 8576081 at 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
good
Please Sign up or sign in to vote.

Solution 2

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

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 410
1 OriginalGriff 230
2 DamithSL 175
3 Maciej Los 135
4 Dave Kreskowiak 120
0 OriginalGriff 7,740
1 DamithSL 5,694
2 Sergey Alexandrovich Kryukov 5,404
3 Maciej Los 5,061
4 Kornfeld Eliyahu Peter 4,539


Advertise | Privacy | Mobile
Web02 | 2.8.141223.1 | Last Updated 19 Mar 2012
Copyright © CodeProject, 1999-2014
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