After scripting "crash" for some time, I must say there are little
quirks with it. Apologies in advance if this is expected behaviour,
but it has been very confusing and unintuitive for newcomer:
* crash sleeps after reading everything from input pipe
you forgot final 'q' -- you kill crash in S-state.
* "crash -i" sends some terminal garbage before everything.
I thought it is some kind of uninitialized memory bug.
It is surely documented that "crash -i" is not what one might
expect -- legal way to send scripted commands and just that,
* filtering gdb banners is annoying, not hard but annoying,
* commands are chatty: say, "ptov" shoud just print virtual address,
headers don't go away in "scripted" mode
Alexey