GammaRay icon indicating copy to clipboard operation
GammaRay copied to clipboard

inspecting applications with additional LD_PRELOAD

Open stefanseefeld opened this issue 4 years ago • 0 comments

I'm trying to inspect an application that requires itself a preloaded library. As I haven't found a command-line option to pass additional preload libraries, I simply called

LD_PRELOAD=my/preload.so gammaray my/target/app

but that seems to have failed, i.e. the errors I'm receiving suggest the preload environment variable isn't properly forwarded to the target application.

stefanseefeld avatar Oct 13 '21 15:10 stefanseefeld