Add dump signal for DrCov#1956
Conversation
|
Thank you for the contribution. However, drcov already has support for a daemon process killed by its parent using drx_register_soft_kills(), and to extend that to a human-sent signal we would want to use the same underlying mechanism, DR's nudge, which is cross-platform. |
|
Meant to add: we'd want the nudge handler to be extended, and the docs updated to talk about how to send the nudge. |
|
Please also see https://github.com/DynamoRIO/dynamorio/wiki/Contributing: if the CLA was signed under a different name please let us know. I don't see your github username. |
|
No I did not sign this. I found the tool usefull for a POC and decided to Cheers, and keep up the good work. On Mon, Jun 20, 2016 at 5:39 PM, derekbruening notifications@github.com
|
|
Not sure what else to add: search for nudge in drcov.c to find the relevant functions and look at the aforementioned drx_register_soft_kills() docs and search for nudge in the DR docs: http://dynamorio.org/docs/using.html#sec_comm |
|
Note that we no longer need the CLA to be signed. |
Add the functionality to generate partial coverage report for daemon processes or processes that may core dump during shut down. Sending a signal to the process will dump the current collected data.
Linux only.
Possibly can be put to use for windows.