Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #8116
| From | Robert Wessel <robertwessel2@yahoo.com> |
|---|---|
| Newsgroups | comp.programming |
| Subject | Re: Number of times a function is called |
| Message-ID | <mp2quchfkfs8prsnkmmn4nme1tp7kpdfmc@4ax.com> (permalink) |
| References | <osj1d6$12nk$1@gioia.aioe.org> |
| Organization | Forte - www.forteinc.com |
| Date | 2017-10-22 16:19 -0500 |
On Mon, 23 Oct 2017 00:08:46 +0300, Victor Porton <porton@narod.ru> wrote: >For debugging purposes, > >I need to check that my program calls functions xxx_alloc() and xxx_free() >from a (dynamic or static) library the same number of times (every >allocation is followed by exactly one deallocation). > >How to do this on Linux? If you're looking to detect/identify memory leaks, I'd suggest looking at Valgrind.
Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Number of times a function is called Victor Porton <porton@narod.ru> - 2017-10-23 00:08 +0300 Re: Number of times a function is called Robert Wessel <robertwessel2@yahoo.com> - 2017-10-22 16:19 -0500 Re: Number of times a function is called Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-10-23 00:41 +0100
csiph-web