mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-28 02:11:43 +00:00
* We need to ensure we remodify LD_LIBRARY_PATH and LD_PRELOAD before fork/exec if the application (say bash running a script) has overwritten them. We also don't want these to be accidentally inherited into children if we're not hooking children - the same for the vulkan env var, which can't be unset immediately on process injection like the others because it needs to hang around indefinitely.