Author Topic: Finding the location of an executed file  (Read 4617 times)

then just don't make it into a function, paste it wherever needed, done

At first I thought you could possibly achieve this by parenting exec, then I realized that the malicious code may also parent exec. Is there any way to make your function unparentable? Can we give functions vasectomies?

You can't parent exec, and you can't make functions non-parentable.