-
-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port command pa to new shell #2824
Conversation
RZ_IPI RzCmdStatus rz_hex_of_assembly_handler(RzCore *core, int argc, const char **argv, RzOutputMode mode) { | ||
char *buf = rz_core_hex_of_assembly(core, argv[1]); | ||
if (!buf) { | ||
return RZ_CMD_STATUS_ERROR; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please print an error message as well. Here and in the other commands. These are useful to users so they get some feedback if things go wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rz_core_hex_of_assembly
will output the error message when buf == NULL
. The user can get feedback. The same goes for other commands.
Your checklist for this pull request
Detailed description
pa/pad/pae/pade
andpix
to new shellpaD
Test plan
CI is green.
Closing issues
partially address #1590