Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #8115

Number of times a function is called

From Victor Porton <porton@narod.ru>
Newsgroups comp.programming
Subject Number of times a function is called
Date 2017-10-23 00:08 +0300
Organization Aioe.org NNTP Server
Message-ID <osj1d6$12nk$1@gioia.aioe.org> (permalink)

Show all headers | View raw


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?

-- 
Victor Porton - http://portonvictor.org

Back to comp.programming | Previous | Next — Next in thread | Find similar | Unroll thread


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