-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Description
Environment
Mon May 13 15:10:39 CEST 2024
radare2 5.9.1 32219 @ darwin-arm-64
birth: git.5.9.0-206-g7f23865cac 2024-05-13__15:08:02
commit: 7f23865cac88bf10f68b24b41572f35e00c9efe9
options: gpl -O2 cs:5 cl:2 make
Darwin arm64
Description
radare2 % lldb -- r2 -c 'b64:' -
(lldb) target create "r2"
Current executable set to '/Users/ripatel/.local/bin/r2' (arm64).
(lldb) settings set -- target.run-args "-c" "b64:" "-"
(lldb) run
Process 22260 launched: '/Users/ripatel/.local/bin/r2' (arm64)
Process 22260 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
frame #0: 0x0000000100d15478 libr_core.dylib`cmd_bsize(data=0x0000000128018000, input="64:") at cmd.c:2643:13
2640 if (r_str_startswith (input, "64:")) {
2641 int len = 0;
2642 char *cmd = (char *)sdb_decode (input + 3, &len);
-> 2643 cmd[len] = 0;
2644 r_core_cmd_call (core, cmd);
2645 free (cmd);
2646 } else {
Target 0: (r2) stopped.
Also reproduces on s390x
Test
radare2 % r2 -c 'b64:' -
zsh: segmentation fault r2 -c 'b64:' -
Metadata
Metadata
Assignees
Labels
No labels