Challenges and solution using ROP