Research Article
An Efficient Platform for the Automatic Extraction of Patterns in Native Code
Algorithm 5
Pattern detector rule to recognize RET patterns.
Function RET_pattern_detector(instruction) | if is not _ _RETURN__ then | return null | end if | _ | while not is RET do | next(instruction) | end while | return (, (_, next(instruction))) | end |
|