ROPMEMU: A framework for the analysis of complex code-reuse attacks