malloc/free profiler in awk 
Author Message
 malloc/free profiler in awk

I once saw in a newsletter or magazine article a pair of simple awk
programs which checked C programs for memory leaks/misuse. The first awk
program added print statements to malloc's and free's. The second awk
program analyzed the print out after running the C program to look for
unfreed or multiply-freed memory.
Both programs were quite short.

Does anyone remember seeing those programs? Could you direct me to them?

TIA, jpp



Fri, 09 Aug 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Q: TCL 7.3 malloc/free problems on a Cray

2. (debunk-myth '(debunk-myth '(<-efficient gc malloc/free)))

3. (debunk-myth '(debunk-myth '(<-efficient gc malloc/free)))

4. (debunk-myth '(debunk-myth '(<-efficient gc malloc/free)))

5. (debunk-myth '(debunk-myth '(<-efficient gc malloc/free)))

6. (debunk-myth '(debunk-myth '(<-efficient gc malloc/free)))

7. (debunk-myth '(debunk-myth '(<-efficient gc malloc/free)))

8. (debunk-myth '(debunk-myth '(<-efficient gc malloc/free)))

9. (debunk-myth '(debunk-myth '(<-efficient gc malloc/free)))

10. freeing only part of malloc-ed memory?

11. Malloc/Free/Change size problems

12. Freeing malloc'd array in Python

 

 
Powered by phpBB® Forum Software