Rename missing print_argv to command_line_arguments on README

Fix https://github.com/cirosantilli/linux-kernel-module-cheat/issues/140
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-12-12 00:00:00 +00:00
parent b1048d344c
commit 0160d0a076

View File

@@ -2996,7 +2996,7 @@ First build `gdbserver` into the root filesystem:
Then on guest, to debug link:userland/linux/rand_check.c[]: 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[]. Source: link:rootfs_overlay/lkmc/gdbserver.sh[].
@@ -3010,7 +3010,7 @@ And on host:
or alternatively with the path to the executable itself: 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 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: 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 asdf
qw er qw er
.... ....