68 [[noreturn]]
static void terminate(
const char *
const msg,
bool is_error =
true );
static bool setup_complete
Used to tell if the process group has started.
Definition: group.hpp:72
~TerminateOnDestruction()
Destructor On destruction, terminate the group if enabled.
Definition: group.cpp:86
A class that terminates the group when its destructor is called This is called even if a C++ exceptio...
Definition: group.hpp:17
bool enabled
Definition: group.hpp:25
static void setup()
Setup the group This function should NOT be called by the dynamorio client.
Definition: group.cpp:103
TerminateOnDestruction & operator=(const TerminateOnDestruction &)=delete
static void terminate(const char *const msg, bool is_error=true)
Terminates the process group via SIGKILL If is_error is set to true, msg is logged to the ERROR file...
Definition: group.cpp:137
A static class holding the group functions.
Definition: group.hpp:48
void disable()
Disable termination of the group on destruction.
Definition: group.cpp:93
TerminateOnDestruction()
Constructor Enabled terminateion on destruction by default.
Definition: group.cpp:83