Sizing the stack

Kevin Kilzer <>
10 Mar 2001 15:56:15 -0500

          From comp.compilers

Related articles
Sizing the stack (Kevin Kilzer) (2001-03-10)
Re: Sizing the stack (Nils M Holm) (2001-03-12)
| List of all articles for this month |

From: Kevin Kilzer <>
Newsgroups: comp.compilers
Date: 10 Mar 2001 15:56:15 -0500
Organization: WinStar GoodNet, Inc.
Keywords: assembler, tools, question, comment
Posted-Date: 10 Mar 2001 15:56:15 EST

I need a tool that, given assembly language files, can calculate the
maximum depth of the stack that will be used by a program, counted
from some specified entry point.

Any suggestions?

[In general it's undecidable, but I'd imagine one could write a static
analyzer that could produce useful results for a lot of real programs.

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.