Skip to content

Commit

Permalink
64bit libc table generator had $r10 as 4th argument (#113)
Browse files Browse the repository at this point in the history
## Description/Motivation/Screenshots

Fixes `scripts/libc_function_args/tables/generator.py` which was wrong using `$r10` as 4th argument
  • Loading branch information
MinatoTW authored May 16, 2024
1 parent 5d96909 commit 296049f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/libc_function_args/tables/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 296049f

Please sign in to comment.