This whitepaper details the ins and outs of return-oriented programming and DEP bypass.
You can download it from the following link: https://packetstormsecurity.com/files/download/103676/ropdep-bypass.pdf
Source: https://packetstormsecurity.com/files/103676/Return-Oriented-Programming-DEP-Bypass.html

