DynamoRIO / dynamorio

Dynamic Instrumentation Tool Platform
Other
2.57k stars 552 forks source link

Problem with bash job control #2102

Open egrimley opened 7 years ago

egrimley commented 7 years ago

There seems to be a problem, affecting all architectures, with running "bash" under DynamoRIO:

$ echo 'PS1="x> "' > rc
$ bin64/drrun -- bash --rcfile rc
x> echo foo
foo
x> /bin/echo foo
foo

[1]+  Stopped                 bin64/drrun -- bash --rcfile rc

Plain "ls" and "tcsh" work as expected.

Probably a regression from adding interception of all signals for better tool support.

It works with "-no_code_api -no_intercept_all_signals".

algrant-arm commented 6 years ago

Another example:

> bin64/drrun -- bash
$ ls

[1]+  Stopped           ls
$ ls
ACKNOWLEDGEMENTS   CONTRIBUTING.md 
...
$