Research Article

An Efficient and Packing-Resilient Two-Phase Android Cloned Application Detection Approach

Algorithm 1

Merge two layout trees.
Input: Two layout trees , ;
Output: Minimum tree match both and ;
(1) = ;
(2) ;
(3) ;
(4) ;
(5) for   to   do
(6) ;
(7) foreach    do
(8) foreach    do
(9) ;
(10) end
(11) ;
(12) end
(13) end
(14) return  ;