diff options
author | Yifan Lu | 2016-10-08 14:03:00 -0700 |
---|---|---|
committer | Yifan Lu | 2016-10-08 14:03:00 -0700 |
commit | 750b4eb89e8504ef7ec88528538e0c92fc06678a (patch) | |
tree | 72dda33aa6d51e29b0494ed3f6025d5be9b07ffd /lib/substitute.h | |
parent | Support using a different VMA for the hook dest (diff) | |
download | substitute-750b4eb89e8504ef7ec88528538e0c92fc06678a.tar.gz |
Added support for platform specific aux data to execmem
Diffstat (limited to '')
-rw-r--r-- | lib/substitute.h | 2 |
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 */ |