In Table Mode of Gadget search, the bytes length should be limited by an evar.
❯ rizin malloc://32
[0x00000000]> e asm.arch=arm
[0x00000000]> e asm.bits=32
[0x00000000]> e cfg.bigendian=false
[0x00000000]> wx 04e02de50000a0e10110a0e10080bd081eff2fe10220a0e100f020e3
[0x00000000]> /Rt
addr bytes disasm
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
0x00000000 04e02de50000a0e10110a0e10080bd081eff2fe1 str lr, [sp, -4]!; ; mov r0, r0; ; mov r1, r1; ; ldmeq sp!, {pc}; ; bx lr;
0x00000004 0000a0e10110a0e10080bd081eff2fe1 mov r0, r0; ; mov r1, r1; ; ldmeq sp!, {pc}; ; bx lr;
0x00000008 0110a0e10080bd081eff2fe1 mov r1, r1; ; ldmeq sp!, {pc}; ; bx lr;
0x0000000c 0080bd081eff2fe1 ldmeq sp!, {pc}; ; bx lr;
0x00000010 1eff2fe1 bx lr;
Instead use a config variable for length of bytes shown (with a suitable default)
Truncate the bytes when the length is greater than that variable
And show ellipsis (...) for truncated output.
In Table Mode of Gadget search, the bytes length should be limited by an evar.
Current Output for
/RtInstead use a config variable for length of bytes shown (with a suitable default)
Truncate the bytes when the length is greater than that variable
And show ellipsis (...) for truncated output.