Script for finding references to stub functions