Dominik Honnef

renderdoc cannot capture Go child processes

Last modified:
by

On Linux, renderdoc adds a library to LD_PRELOAD when it starts the process. The preloaded library then removes itself from LD_PRELOAD. the library hooks into all the different exec functions in the C stdlib to inject itself again, if the capture child processes option is enabled. But this cannot handle Go’s os/exec, because that doesn’t use the C stdlib functions.