diff options
author | comex | 2015-01-20 19:49:44 -0500 |
---|---|---|
committer | comex | 2015-01-20 19:54:09 -0500 |
commit | ba44cef0bfa106de3a4406fdaed071461f87a6f3 (patch) | |
tree | 738895cae66ba2bf1e7369b8a17a2d8d4a433293 /lib/substitute.h | |
parent | more reorganization - move OS X/iOS specific stuff into its own directory (diff) | |
download | substitute-ba44cef0bfa106de3a4406fdaed071461f87a6f3.tar.gz |
progress on injection
Diffstat (limited to '')
-rw-r--r-- | lib/substitute.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/substitute.h b/lib/substitute.h index 398b7fd..00cc1b8 100644 --- a/lib/substitute.h +++ b/lib/substitute.h @@ -103,16 +103,17 @@ void substitute_close_image(struct substitute_image *handle); * * @handle handle opened with substitute_open_image * @names an array of symbol names to search for - * @syms an array of substitute_sym *, one per name; on return, each entry - * will be a pointer into the symbol table for that image, or NULL if - * the symbol wasn't found + * @syms an array of void *, one per name; on return, each entry will be + * filled in with the corresponding symbol address, or NULL if the + * symbol wasn't found + * (on ARM, this will be | 1 for Thumb functions) * @nsyms number of names * * @return SUBSTITUTE_OK (maybe errors in the future) */ int substitute_find_private_syms(struct substitute_image *handle, - const char **names, - substitute_sym **syms, + const char **__restrict names, + void **__restrict syms, size_t nsyms); /* Get a pointer corresponding to a loaded symbol table entry. |