-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Segfault under Vv, scrolling down with j with long, possibly binary, function names #15093
Comments
Full backtrace:
|
Add an if in carg.c:235 because its calling strdup with null as arg |
Wouldn't it make sense to see why the calling convention ( There's a few |
Theres no calling convention for sh at all. Thats why its null
… On 21 Sep 2019, at 11:03, Roman Valls Guimera ***@***.***> wrote:
Wouldn't it make sense to see why the calling convention (*cc) is wrong when it hits that function? :-S
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Make a pr
… On 21 Sep 2019, at 09:22, Roman Valls Guimera ***@***.***> wrote:
Full backtrace:
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
frame #0: 0x00007fff738516f2 libsystem_platform.dylib`_platform_strlen + 18
frame #1: 0x00007fff7370bbf6 libsystem_c.dylib`strdup + 18
frame #2: 0x0000000100df740f libr_core.dylib`r_core_get_func_args(core=0x0000000101c2a0a0, fcn_name="_memcpy") at carg.c:235:13
frame #3: 0x0000000100e247cc libr_core.dylib`ds_print_esil_anal(ds=0x0000000102012000) at disasm.c:4646:18
frame #4: 0x0000000100e189a1 libr_core.dylib`r_core_print_disasm(p=0x0000000101f05980, core=0x0000000101c2a0a0, addr=203014336, buf="\x86/\x96/�/�/"O���nChR.a\x1er\x1e", len=650, l=650, invbreak=0, cbytes=1, json=false, pj=0x0000000000000000, pdf=0x0000000101f79330) at disasm.c:5433:5
frame #5: 0x0000000100d15909 libr_core.dylib`cmd_print(data=0x0000000101c2a0a0, input="df") at cmd_print.c:5662:26
frame #6: 0x0000000100df5373 libr_core.dylib`r_cmd_call(cmd=0x000000010285b000, input="pdf") at cmd_api.c:244:10
frame #7: 0x0000000100d2ebad libr_core.dylib`r_core_cmd_subst_i(core=0x0000000101c2a0a0, cmd="pdf", colon=0x0000000000000000, tmpseek=0x00007ffeefbfb64f) at cmd.c:3494:11
frame #8: 0x0000000100ceee9c libr_core.dylib`r_core_cmd_subst(core=0x0000000101c2a0a0, cmd="pdf") at cmd.c:2424:9
frame #9: 0x0000000100ce7a01 libr_core.dylib`r_core_cmd(core=0x0000000101c2a0a0, cstr="pdf @ 0xc19c0c0", log=0) at cmd.c:4381:9
frame #10: 0x0000000100ceb92c libr_core.dylib`r_core_cmd_str(core=0x0000000101c2a0a0, cmd="pdf @ 0xc19c0c0") at cmd.c:4636:6
frame #11: 0x0000000100e425d7 libr_core.dylib`r_core_visual_anal_refresh_column(core=0x0000000101c2a0a0, colpos=30) at vmenus.c:2844:17
frame #12: 0x0000000100e3e7ba libr_core.dylib`r_core_visual_anal_refresh(core=0x0000000101c2a0a0) at vmenus.c:2923:2
frame #13: 0x0000000100e3d882 libr_core.dylib`r_core_visual_anal(core=0x0000000101c2a0a0, input=0x0000000000000000) at vmenus.c:3121:10
* frame #14: 0x0000000100db3c97 libr_core.dylib`r_core_visual_cmd(core=0x0000000101c2a0a0, arg="v") at visual.c:2879:4
frame #15: 0x0000000100dbcf6a libr_core.dylib`r_core_visual(core=0x0000000101c2a0a0, input="v") at visual.c:4203:8
frame #16: 0x0000000100d2460e libr_core.dylib`cmd_visual(data=0x0000000101c2a0a0, input="v") at cmd.c:1729:9
frame #17: 0x0000000100df5373 libr_core.dylib`r_cmd_call(cmd=0x000000010285b000, input="Vv") at cmd_api.c:244:10
frame #18: 0x0000000100d2eef2 libr_core.dylib`r_core_cmd_subst_i(core=0x0000000101c2a0a0, cmd="Vv", colon=0x0000000000000000, tmpseek=0x00007ffeefbfe57f) at cmd.c:3546:12
frame #19: 0x0000000100ceee9c libr_core.dylib`r_core_cmd_subst(core=0x0000000101c2a0a0, cmd="Vv") at cmd.c:2424:9
frame #20: 0x0000000100ce7a01 libr_core.dylib`r_core_cmd(core=0x0000000101c2a0a0, cstr="Vv", log=1) at cmd.c:4381:9
frame #21: 0x0000000100cd4665 libr_core.dylib`r_core_prompt_exec(r=0x0000000101c2a0a0) at core.c:3099:12
frame #22: 0x0000000101c1c8d9 libr_main.dylib`r_main_radare2(argc=6, argv=0x00007ffeefbfee88) at radare2.c:1452:16
frame #23: 0x0000000100001a1d r2`main(argc=6, argv=0x00007ffeefbfee88) at radare2.c:95:9
frame #24: 0x00007fff736693d5 libdyld.dylib`start + 1
frame #25: 0x00007fff736693d5 libdyld.dylib`start + 1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Work environment
Actual behavior
Steps to reproduce the behavior
Run @dark-lbp experimental r2 VxWorks demangling r2pipe script. Switch to
Vv
once it has finished running. Scroll down continuously withj
command.The text was updated successfully, but these errors were encountered: