Re: life expectancy of allocated resources in a .so file



In article <1163605777.206861.170170@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Sideswipe wrote:
Is there an equivalent to "Bounds Checker" for Linux that can let me
known when I trounce on memory? Somewhere I am walking on memory and
it's not occurring to me where.

Christian
http://christian.bongiorno.org

I generally use:

1. Valgrind (valgrind.kde.org -- not tied to KDE window system)
2. GCC patched with Bounds Checking (sourceforge.net/projects/boundschecking
-- you can turn the bounds checking instrumentation on and off)

I do not usually use them together at the same time.

They each find different types of problems and with the right test cases, can
find huge numbers of potential issues in unclean code.



--
Scott Lacy Salley <scottlacysalley@xxxxxxxxxxxxxxxxxxxxx>
http://scottlacysalley.blogspot.com

.



Relevant Pages

  • Re: [OT] Re: What America is becoming
    ... My memory is flagging too, which could certainly affect my job as well. ... Tell Charles to get out and start walking, briskly and for at least 1 ... It is good for the mind, ... I can't readily agree to jogging being better than walking. ...
    (alt.autos.toyota)
  • Re: Woo! Website updated
    ... My favorite memory of the Castro-- ... My girlfriend at the time and I were in the area shopping. ... We were in the process of walking past this bar entrance and out stumbled this mustachioed dude in leather riding chaps. ... was a quantum level past anything I'd seen in public before- ...
    (alt.guitar)
  • Re: Translating VM address to physical addresses in a non-root app
    ... > Locking pages in memory is not an issue. ... driver need to be thought out as well. ... Notice that user virtual address index the array. ... The bttv did it, however, it did the walking for all the wrong ...
    (comp.os.linux.development.system)
  • Re: GPS recommendation please
    ... I write up my log of the day and my memory, ... electronic toy. ... Not that I usually bother carrying one when walking, but that alone does not make them "toys". ...
    (uk.rec.walking)
  • Re: Ouray to Durango in a 5th Wheel
    ... My wife says that if the trailer goes up ... the pass, she's walking it. ... My 13 year memory said it was worse than ...
    (rec.outdoors.rv-travel)