Problem:
I have just inherited this 200K LOC source code base.
There's only a small part of it I need (and I want to rip all else out).
What I would like to do is to be able to:
1) run the program a few times 2) have something (here's where you come in) record which lines of code gets executed 3) then rip out all the irrelevant lines of code
I realize this has "problems" in the forms of "different args will take different paths"; but for my needs, it's very specific, and I just want something ot get me started on the right line of for ripping stuff out (I'll fine tune those special cases later).
Thanks!