I have found the commandthe command r2 -c 'pi $s'
to dump a binary with radare2. I have tried this redirecting the output to a file: r2 -c 'pi $s' binary > dump.txt
. The dump is created but radare2 gets unresponsive. Is this a bug, or am I doing something wrong?