next up previous contents
Next: Using CLW Up: CLW functions Previous: Mathmatical functions   Contents

Dynamic memory

C library functions that control dynamic memory are wrapped too. At the end of execution, the heap is checked for memory leaks. If a leak has been found, this is printed to the stderr device and a stack trace showing where the memory has been allocated will be shown. Also, the C Library Wrapper can do a limited checking of validity of pointers to dynamic memory. The advantage of CLW compared to commercial run-time memory debuggers like Purify or Insure, is that CLW does not cause much extra CPU overhead. This makes it more convenenient to use.



Erwin Nijmeijer 2002-09-26