I have task to remove all unused code from a third-party library. That is, I have a function that calls several other functions and objects, which in turn also call something. I