aboutsummaryrefslogtreecommitdiff
path: root/lib/hook-functions.c
diff options
context:
space:
mode:
authorcomex2015-07-10 22:38:44 -0400
committercomex2015-07-10 22:38:44 -0400
commitd88b91519b96d8accdbfc4216010d0a42343ca33 (patch)
treeac54e2a5a8d35b981aeda828230b39f0d92c4129 /lib/hook-functions.c
parentAvoid issues with the system time changing (diff)
downloadsubstitute-d88b91519b96d8accdbfc4216010d0a42343ca33.tar.gz
stuff!
Diffstat (limited to '')
-rw-r--r--lib/hook-functions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hook-functions.c b/lib/hook-functions.c
index 673d6d9..ee3d049 100644
--- a/lib/hook-functions.c
+++ b/lib/hook-functions.c
@@ -213,8 +213,8 @@ int substitute_hook_functions(const struct substitute_function_hook *hooks,
/* Generate the rewritten start of the function for the outro
* trampoline (complaining if any bad instructions are found)
- * (on arm64, this modifies regs_possibly_written, which is used by the
- * ending make_jump_patch call) */
+ * (on arm64, this modifies arch.regs_possibly_written, which is used
+ * by the later make_jump_patch call) */
if ((ret = transform_dis_main(code, &trampoline_ptr, pc_patch_start,
&pc_patch_end, (uintptr_t) trampoline_ptr,
&arch, hi->offset_by_pcdiff,