Unfortunately I don’t know of any tool that could help you with this specific issue.
Often programmers will put fixed length array sizes into parameter statements. If this is the case for your program, you could grep for “parameter” and look for larger sizes, then grep for the parameter name to see if its used to declare any arrays.
I thought that might be the reply. I had hoped for an RTM reference
but it looks like I am going to have to write a pre-compiler parser
script or lexical analyzer to identify and calculate the static array