1. A computer implemented method for detection and prevention of Return-Oriented-Programming (ROP) attacks in one or more applications, comprising: performing stack inspection, using a stack inspection device, to detect one or more ROP gadgets in a stack, the stack inspection further comprising: stack walking from a stack frame at a top of the stack toward a bottom of the stack to detect one or more failure conditions; determining whether a valid stack frame and return code address is present; and determining a failure condition type if no valid stack frame and return code is present, wherein Type III failure conditions indicate an ROP attack; containing the ROP attack using a containment device; and analyzing, using an attack analysis device, the one or more ROP gadgets detected in the stack during the ROP attack.