From 750b4eb89e8504ef7ec88528538e0c92fc06678a Mon Sep 17 00:00:00 2001 From: Yifan Lu Date: Sat, 8 Oct 2016 14:03:00 -0700 Subject: Added support for platform specific aux data to execmem --- lib/substitute.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/substitute.h') 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 */ -- cgit v1.2.3