projects
/
seabios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efda97d
)
Add hack to prevent checkstack.py from infinitely recursing (with bad input).
author
Kevin O'Connor
<kevin@koconnor.net>
Fri, 4 Jul 2008 19:15:49 +0000
(15:15 -0400)
committer
Kevin O'Connor
<kevin@koconnor.net>
Fri, 4 Jul 2008 19:15:49 +0000
(15:15 -0400)
tools/checkstack.py
patch
|
blob
|
history
diff --git
a/tools/checkstack.py
b/tools/checkstack.py
index 1822cc8355eaa88ed6bff9fe14c029fbdd489d8f..84635005973b61502c9f579c80a9a8ef120e52a1 100755
(executable)
--- a/
tools/checkstack.py
+++ b/
tools/checkstack.py
@@
-25,6
+25,7
@@
def calcmaxstack(funcs, func):
return
# Find max of all nested calls.
max = info[0]
+ info[1] = max
for addr, callfname, usage in info[2]:
callinfo = funcs[callfname]
if callinfo[1] is None: