modified src code to extract function names from the opt output