(pattern:str, text:str)
| 88 | return len(re.split(f'emit\\s*{function}', text)[-1].split[","]) > 5 |
| 89 | |
| 90 | def __in_code(pattern:str, text:str): |
| 91 | return pattern.lower() in text.lower() |
| 92 | |
| 93 | def run_static_check(checker:str, args, function_name:str, falcon:Falcon, text:str) -> bool: |
| 94 | # if there is a vulnerability, return true |