aboutsummaryrefslogtreecommitdiff
path: root/lib/substitute.h
diff options
context:
space:
mode:
authorYifan Lu2016-10-08 14:03:00 -0700
committerYifan Lu2016-10-08 14:03:00 -0700
commit750b4eb89e8504ef7ec88528538e0c92fc06678a (patch)
tree72dda33aa6d51e29b0494ed3f6025d5be9b07ffd /lib/substitute.h
parentSupport using a different VMA for the hook dest (diff)
downloadsubstitute-750b4eb89e8504ef7ec88528538e0c92fc06678a.tar.gz
Added support for platform specific aux data to execmem
Diffstat (limited to 'lib/substitute.h')
-rw-r--r--lib/substitute.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/substitute.h b/lib/substitute.h
index 9a8d9ba..4e4f7f9 100644
--- a/lib/substitute.h
+++ b/lib/substitute.h
@@ -100,6 +100,8 @@ struct substitute_function_hook {
int options;
/* If not zero, then assume the actual address of function is func_addr */
uintptr_t func_addr;
+ /* Any platform specific auxiliary data */
+ void *opt;
};
/* substitute_hook_functions options */