1import sys 2 3InterestingArgumentPresent = False 4FunctionCallPresent = False 5 6input = open(sys.argv[1], "r") 7for line in input: 8 if "%interesting" in line: 9 InterestingArgumentPresent = True 10 if "call void @interesting" in line: 11 FunctionCallPresent = True 12 13if InterestingArgumentPresent and FunctionCallPresent: 14 sys.exit(0) # Interesting! 15 16sys.exit(1) 17