instrumentation of function calls, accessing all functions recursively is ok but the instrumentation is crashing