From 296049f7d199a4375267cc3d0db62fb30a420cef Mon Sep 17 00:00:00 2001 From: MinatoTW Date: Thu, 16 May 2024 08:39:56 +0530 Subject: [PATCH] 64bit libc table generator had $r10 as 4th argument (#113) ## Description/Motivation/Screenshots Fixes `scripts/libc_function_args/tables/generator.py` which was wrong using `$r10` as 4th argument --- scripts/libc_function_args/tables/generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/libc_function_args/tables/generator.py b/scripts/libc_function_args/tables/generator.py index aac2dfc..07b96dd 100644 --- a/scripts/libc_function_args/tables/generator.py +++ b/scripts/libc_function_args/tables/generator.py @@ -118,7 +118,7 @@ def generate_all_json_files() -> bool: # generate x86_64 if libc_x64_funcdef_fpath in libc_funcdef_list and not generate_json_file( function_dict, - ["$rdi", "$rsi", "$rdx", "$r10", "$r8", "$r9"], + ["$rdi", "$rsi", "$rdx", "$rcx", "$r8", "$r9"], libc_x64_funcdef_fpath, ): logging.error(