| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Handle cases where objdump shows an call to an unknown address.
Also, simplify implemention of orderfuncs() - use funcion addreses
instead of function names as keys.
|
|
|
|
|
|
|
|
|
| |
Enhance tools/layoutrom.py to explicitly set those symbols that
resolve to a different code chunk (eg, 16, 32seg, 32flat). This
eliminates the need to link the code chunks multiple times.
This patch reduces the dependency on binutils behavior and makes the
build simpler to understand.
|
|
|
|
|
|
|
|
|
|
| |
Add explicit tracking of functions that switch stacks.
Add new tracking of "yield" points -- areas in the code that appear to
hand control to third-party code which may use arbitrary stack space.
Try to arrange the output so that functions that call each other are
near each other.
|
|
|
|
|
| |
A 'movl %esp,%ebp' can occur in the preamble - note for proper stack
usage checking.
|
|
|
|
| |
Tighten regex so that pushaw doesn't confuse parser.
|
|
|
|
|
| |
Make was stripping the relocated 16bit code - keep the unstripped
16bit code so that checkstack can parse it.
|
| |
|
|
|
|
| |
This reduces stack usage (old dos programs don't provide much space).
|
| |
|
|
|
|
|
| |
Keying by address allows the tool to work even when multiple symbols
have the same address.
|
| |
|
|
|
|
|
|
|
| |
Ignore BX_PANIC calls - they shouldn't happen in practice.
Ignore "addr32" prefix when looking at instructions.
Add check for "lcallw" insn.
Don't display redundant calls to the same function (with same stack usage).
|
|
This tool analyzes the assembler and can approximate the stack usage
of the various entry points.
|