<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>06 on 蛇索尼 Aiden</title><link>https://blog.haitai-social.com/note/%E7%B3%BB%E7%BB%9F%E7%90%86%E8%AE%BA%E8%AF%BE%E7%A8%8B/%E6%81%B6%E6%84%8F%E4%BB%A3%E7%A0%81%E5%88%86%E6%9E%90/06/</link><description>Recent content in 06 on 蛇索尼 Aiden</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>shesl-meow@qq.com (佘崧林)</managingEditor><webMaster>shesl-meow@qq.com (佘崧林)</webMaster><lastBuildDate>Mon, 10 Jun 2019 04:41:10 +0800</lastBuildDate><atom:link href="https://blog.haitai-social.com/note/%E7%B3%BB%E7%BB%9F%E7%90%86%E8%AE%BA%E8%AF%BE%E7%A8%8B/%E6%81%B6%E6%84%8F%E4%BB%A3%E7%A0%81%E5%88%86%E6%9E%90/06/index.xml" rel="self" type="application/rss+xml"/><item><title>lab 6-1</title><link>https://blog.haitai-social.com/note/%E7%B3%BB%E7%BB%9F%E7%90%86%E8%AE%BA%E8%AF%BE%E7%A8%8B/%E6%81%B6%E6%84%8F%E4%BB%A3%E7%A0%81%E5%88%86%E6%9E%90/06/lab6-1/</link><pubDate>Mon, 10 Jun 2019 04:41:10 +0800</pubDate><author>shesl-meow@qq.com (佘崧林)</author><guid>https://blog.haitai-social.com/note/%E7%B3%BB%E7%BB%9F%E7%90%86%E8%AE%BA%E8%AF%BE%E7%A8%8B/%E6%81%B6%E6%84%8F%E4%BB%A3%E7%A0%81%E5%88%86%E6%9E%90/06/lab6-1/</guid><description>QUESTION 1 What is the major code construct found in the only subroutine called by main? 在左侧的函数列表中选择 _main ，然后在右侧可以看到 _main 函数的汇编代码： 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23</description></item><item><title>lab 6-2</title><link>https://blog.haitai-social.com/note/%E7%B3%BB%E7%BB%9F%E7%90%86%E8%AE%BA%E8%AF%BE%E7%A8%8B/%E6%81%B6%E6%84%8F%E4%BB%A3%E7%A0%81%E5%88%86%E6%9E%90/06/lab6-2/</link><pubDate>Mon, 10 Jun 2019 04:41:10 +0800</pubDate><author>shesl-meow@qq.com (佘崧林)</author><guid>https://blog.haitai-social.com/note/%E7%B3%BB%E7%BB%9F%E7%90%86%E8%AE%BA%E8%AF%BE%E7%A8%8B/%E6%81%B6%E6%84%8F%E4%BB%A3%E7%A0%81%E5%88%86%E6%9E%90/06/lab6-2/</guid><description>QUESTION 1 What operation does the first subroutine called by main perform? 查看 _main 的汇编代码： 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 .text:00401130 ; =============== S U B R O U T I N E ======================================= .text:00401130 .text:00401130 ; Attributes: bp-based frame .text:00401130 .text:00401130 ; int __cdecl main(int argc, const char **argv, const</description></item><item><title>lab 6-3</title><link>https://blog.haitai-social.com/note/%E7%B3%BB%E7%BB%9F%E7%90%86%E8%AE%BA%E8%AF%BE%E7%A8%8B/%E6%81%B6%E6%84%8F%E4%BB%A3%E7%A0%81%E5%88%86%E6%9E%90/06/lab6-3/</link><pubDate>Mon, 10 Jun 2019 04:41:10 +0800</pubDate><author>shesl-meow@qq.com (佘崧林)</author><guid>https://blog.haitai-social.com/note/%E7%B3%BB%E7%BB%9F%E7%90%86%E8%AE%BA%E8%AF%BE%E7%A8%8B/%E6%81%B6%E6%84%8F%E4%BB%A3%E7%A0%81%E5%88%86%E6%9E%90/06/lab6-3/</guid><description>QUESTION 1 Compare the calls in main to Lab 6-2’s main method. What is the new function called from main? 后面多出了 sub_401130 这个函数。 QUESTION 2 What parameters does this new function take? Ida Pro 将函数声明生成了以下的伪代码： 1 int __cdecl sub_401130(char, LPCSTR lpExistingFileName) 其传入</description></item><item><title>lab 6-4</title><link>https://blog.haitai-social.com/note/%E7%B3%BB%E7%BB%9F%E7%90%86%E8%AE%BA%E8%AF%BE%E7%A8%8B/%E6%81%B6%E6%84%8F%E4%BB%A3%E7%A0%81%E5%88%86%E6%9E%90/06/lab6-4/</link><pubDate>Mon, 10 Jun 2019 04:41:10 +0800</pubDate><author>shesl-meow@qq.com (佘崧林)</author><guid>https://blog.haitai-social.com/note/%E7%B3%BB%E7%BB%9F%E7%90%86%E8%AE%BA%E8%AF%BE%E7%A8%8B/%E6%81%B6%E6%84%8F%E4%BB%A3%E7%A0%81%E5%88%86%E6%9E%90/06/lab6-4/</guid><description>QUESTION 1 What is the difference between the calls made from the main method in Labs 6-3 and 6-4? 分别考虑下面的函数： sub_401000：这个函数在两个 lab 中是相同的，都是用于检测网络的连通性； sub</description></item></channel></rss>