stack memory overflow checker

This is a discussion on stack memory overflow checker within the C Programming forums, part of the General Programming Boards category; does anyone know of a good linux utility to check a (c) programs usage of system memory resources? i'm interested ...

  1. #1
    Registered User
    Join Date
    Aug 2002
    Posts
    351

    stack memory overflow checker

    does anyone know of a good linux utility to check a (c) programs usage of system memory resources?

    i'm interested to see how it allocates and frees memory throughout its runnng cycle.

  2. #2
    starx
    Guest
    gdb, the GNU debugger. I'm not sure exactly how, but you should be able to examine the contents of the stack.

    starX
    www.axisoftime.com

  3. #3
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Yeah, it's called "top". "man top".

    Quzah.
    Hope is the first step on the road to disappointment.

  4. #4
    Registered User
    Join Date
    Aug 2002
    Posts
    351
    thanks!

    found out about the lunix commands 'free' and 'vmstat' also.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Stack Overflow when declaring array
    By ejohns85 in forum C++ Programming
    Replies: 3
    Last Post: 04-03-2009, 05:00 AM
  2. memory allocation from stack and heap ?
    By Bargi in forum C++ Programming
    Replies: 5
    Last Post: 05-29-2008, 12:37 AM
  3. Question regarding Memory Leak
    By clegs in forum C++ Programming
    Replies: 29
    Last Post: 12-07-2007, 12:57 AM
  4. Is it necessary to write a specific memory manager ?
    By Morglum in forum Game Programming
    Replies: 18
    Last Post: 07-01-2002, 01:41 PM
  5. stack make file problem
    By puckett_m in forum C Programming
    Replies: 2
    Last Post: 11-22-2001, 10:51 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21