The process of examining a product to determine how it works or was made, so as to enable the examiner to either make a compatible product or indeed copy the product. Reverse engineering may involve technical dismantling, input output probing, and decompiling of software. If performed with publicly available materials, reverse engineering is not strictly illegal. However it may place its practitioners in a weak position if accused of patent infringement.