Program Instrumentation with and without Source Code