you could probably use the unexec tooling