Results 1 to 2 of 2
I'm working on a large project concerning many memory operations.
Our program has got a "core.*" for many times. From the core information, I am sure that some invalid memory ...
- 12-05-2008 #1Just Joined!
- Join Date
- Dec 2008
- Posts
- 1
Memory operation
I'm working on a large project concerning many memory operations.
Our program has got a "core.*" for many times. From the core information, I am sure that some invalid memory operation has coursed that. But the project is so complicated that reviewing codes costs too much time, besides, this program started up over 80 threads, and it seems that the "core" shows up irregularly.
I am thinking about setting some "hooks" in the system memory operations like memcpy, malloc .etc. How can I do this? Should I rewrite & recompile the gnu libs?
- 12-26-2008 #2Just Joined!
- Join Date
- Dec 2008
- Location
- chennai,India
- Posts
- 4
compile Your code with -fbounds-check option . May be Useful


Reply With Quote
