Reverse engineering framework in Python