摘要: srand()与rand()生成随机数 经过测试,当srand的值确定时,其对应的rand值也是确定的。 #include <iostream> using namespace std; int main() { for (int i = 0; i <= 10; i++) { srand(i); c 阅读全文
posted @ 2020-01-10 18:48 OneTrainee 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 一个利用call+ret修改返回地址的花指令分析 一、花指令形式 00402006 E8 00000000 call 作业.0040200B0040200B 810424 17000000 add dword ptr ss:[esp],0x1700402012 C3 retn 二、花指令分析 阅读全文
posted @ 2020-01-10 11:23 OneTrainee 阅读(621) 评论(0) 推荐(0) 编辑