polytracker icon indicating copy to clipboard operation
polytracker copied to clipboard

Create handler for SIGTERM to exit cleanly

Open carsonharmon opened this issue 4 years ago • 1 comments

Sometimes when parsing a large file, or running a file through a complex parser, it might use up lots of resources and memories.

Create a signal handler to handle SIGTERM to stop tracing/execution and to dump results for processing.

carsonharmon avatar Jul 16 '20 20:07 carsonharmon

This would likely require instrumenting libc.

We need to investigate to see if this is required to ensure that our current at exit handler gets run cleanly. If not, this is probably not necessary.

ESultanik avatar Sep 01 '22 13:09 ESultanik