-
Notifications
You must be signed in to change notification settings - Fork 21
Snippets
crossbowerbt edited this page Oct 10, 2011
·
27 revisions
For the good and lazy programmers, this section documents the library following the approach "a function - an example".
For every features exposed by the library you will find a brief explanation and an example of how to use it. Let's start.
This function try to read from the process memory an ascii string, no longer than count bytes. So you can provide a large count value since the function recognizes the NULL terminating character.
Example:
rax_address = gdb.parse_and_eval("$rax") string = gdb_utils.read_string(rax_address, 1024) print string