From c5d2e3f132a3c8e5b0e3bdca5d3f1232e90b933c Mon Sep 17 00:00:00 2001 From: Aditya Maheshwari <136382207+w0rm29@users.noreply.github.com> Date: Tue, 16 Apr 2024 02:23:38 -0400 Subject: [PATCH] Add mention of str.search.* variables in the help of iz and izz (#4433) --- librz/core/cmd_descs/cmd_descs.c | 2 ++ librz/core/cmd_descs/cmd_info.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/librz/core/cmd_descs/cmd_descs.c b/librz/core/cmd_descs/cmd_descs.c index 3118575990..99ed145543 100644 --- a/librz/core/cmd_descs/cmd_descs.c +++ b/librz/core/cmd_descs/cmd_descs.c @@ -11573,6 +11573,7 @@ static const RzCmdDescArg cmd_info_strings_args[] = { }; static const RzCmdDescHelp cmd_info_strings_help = { .summary = "List strings", + .description = "Lists the strings; the behavior can be modified via str.search.*", .args = cmd_info_strings_args, }; @@ -11581,6 +11582,7 @@ static const RzCmdDescArg cmd_info_whole_strings_args[] = { }; static const RzCmdDescHelp cmd_info_whole_strings_help = { .summary = "List strings in the whole binary", + .description = "Lists the strings of the whole binary; the behavior can be modified via str.search.*", .args = cmd_info_whole_strings_args, }; diff --git a/librz/core/cmd_descs/cmd_info.yaml b/librz/core/cmd_descs/cmd_info.yaml index dc65960fcb..f47acd48ed 100644 --- a/librz/core/cmd_descs/cmd_info.yaml +++ b/librz/core/cmd_descs/cmd_info.yaml @@ -438,6 +438,7 @@ commands: - name: iz cname: cmd_info_strings summary: List strings + description: Lists the strings; the behavior can be modified via str.search.* type: RZ_CMD_DESC_TYPE_ARGV_STATE default_mode: RZ_OUTPUT_MODE_TABLE modes: @@ -449,6 +450,7 @@ commands: - name: izz cname: cmd_info_whole_strings summary: List strings in the whole binary + description: Lists the strings of the whole binary; the behavior can be modified via str.search.* type: RZ_CMD_DESC_TYPE_ARGV_STATE default_mode: RZ_OUTPUT_MODE_TABLE modes: