Blain20 <blain20 at protonmail.com> wrote: > What's a good way to test this on DGD? The way DGD detects use-after-free is by overwriting freed memory with garbage, which will erase the content. Just use DGD normally for test and development purposes. For production, you may want to compile without -DDEBUG. Regards, Felix Croes