Thread: stack memory overflow checker

  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, 01: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, 11:51 AM