Research Article

An Efficient Platform for the Automatic Extraction of Patterns in Native Code

Algorithm 2

Instrumentation rule for return statements.
Function return_instrumentation(program)
for all    in    do
   if  stmt  is  type return  id func((type arg id arg) )   then
    
    for allindo
      if  stmt  is  return    then
       __RETURN_id func___:
       
      end if
    end for
   end if
end for
end