rizin crashes when run fd with invalid command
dmknght opened this issue · comments
Nong Hoang Tu commented
Work environment
Questions | Answers |
---|---|
OS/arch/bits (mandatory) | Parrot OS 6.0, AMD64 |
File format of the file you reverse (mandatory) | ELF |
Architecture/bits of the file (mandatory) | x86/64 |
rizin -v full output, not truncated (mandatory) |
rizin 0.7.2 @ linux-x86-64 |
Expected behavior
Program doesn't crash
Actual behavior
Program crashes when run command fd
with rizin's invalid command (in backstick)
fd @ `entry1`
Steps to reproduce the behavior
- Open rizin (no file or any file)
- Run
fd @ `entry0`
- See the crash
Additional Logs, screenshots, source code, configuration dump, ...
Program output of crash
[0x00000000]> fd @ `entry0`
ERROR: Command 'entry0' does not exist.
ERROR: Displaying the help of command 'e'.
ERROR: Usage: e[?] # List/get/set config evaluable vars
| e <key>[=<val|?>] [<key>[=<val|?>] ...]] # Get/Set value of config variable <key>
| el[j*qlJ] [<key>] # List config variables with their descriptions
| e- # Reset config variables
| e! <key> # Invert the boolean value of config variable <key>
| ec[?] # Set color for given key (prompt, offset, ...)
| ee <key> # Open editor to change the value of config variable <key>
| er <key> # Set config variable <key> as read-only
| es [<key>] # List all config variable spaces or sub-keys/sub-spaces if a <key> is provided
| et <key> # Show type of given config variable <key>
Detailed help for e <key>[=<val|?>] [<key>[=<val|?>] ...]] is provided by e??.
ERROR: Error while substituting arguments
WARNING: rz_cmd_parsed_args_argstr: assertion 'a && a->argv && a->argv[0]' failed (line 1948)