Utilities
Detailed Description
Some utilities functions.
Function Documentation
int absolute_free_stack |
( |
|
) |
|
Analyzes the stack and return the number of bytes on the stack that have never been used. This function is not 100% accurate. Patterns like 0xaaaaaaaa and 0xffffffff on the stack can confuse it.
- Returns:
- number of bytes of stack never used
int current_free_stack |
( |
|
) |
|
Analyzes the stack and return the number of bytes on the stack currently not used. This function is not 100% accurate. Patterns like 0xaaaaaaaa and 0xffffffff on the stack can confuse it.
- Returns:
- number of bytes of stack currently not used
void mem_dump |
( |
char * |
start, |
|
|
int |
len | |
|
) |
| | |
dump a memory area in this format 0x00000000 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
- Parameters:
-
| start | pointer to beginning of memory block to dump |
| len | length of memory block to dump |