比较详细,可以看看 http://blog.csdn.net/ring0hx/article/details/46440037 http://www.jianshu.com/p/7b9498e58659