From 0160d0a076c8536fb21ee362acf9d5b3debaeda6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Sat, 12 Dec 2020 00:00:00 +0000 Subject: [PATCH] Rename missing print_argv to command_line_arguments on README Fix https://github.com/cirosantilli/linux-kernel-module-cheat/issues/140 --- README.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.adoc b/README.adoc index 01ef51b..57f68b1 100644 --- a/README.adoc +++ b/README.adoc @@ -2996,7 +2996,7 @@ First build `gdbserver` into the root filesystem: Then on guest, to debug link:userland/linux/rand_check.c[]: .... -./gdbserver.sh ./c/print_argv.out asdf qwer +./gdbserver.sh ./c/command_line_arguments.out asdf qwer .... Source: link:rootfs_overlay/lkmc/gdbserver.sh[]. @@ -3010,7 +3010,7 @@ And on host: or alternatively with the path to the executable itself: .... -./run --gdbserver --userland "$(./getvar userland_build_dir)/c/print_argv.out" +./run --gdbserver --userland "$(./getvar userland_build_dir)/c/command_line_arguments.out" .... Bibliography: https://reverseengineering.stackexchange.com/questions/8829/cross-debugging-for-arm-mips-elf-with-qemu-toolchain/16214#16214 @@ -3991,7 +3991,7 @@ Let's run link:userland/c/command_line_arguments.c[] built with the Buildroot to Output: .... -/path/to/linux-kernel-module-cheat/out/userland/default/x86_64/c/print_argv.out +/path/to/linux-kernel-module-cheat/out/userland/default/x86_64/c/command_line_arguments.out asdf qw er ....