滴水逆向_学习笔记

滴水逆向第三期学习笔记


第二节 2.4.2逆向并还原为C代码(本人解答)

<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/e9b95fd1f483086749d17df34a5125eb" alt="" /><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/6999b24c379ddd66402f7e075dc9dc71" alt="" /></p> <hr /> <hr /> <h2>完善后代码如下:</h2> <pre><code class="language-cpp">#include &lt;iostream&gt; #include&lt;Windows.h&gt; #include&lt;stdio.h&gt; int functionC(int a, int b) { return a + b; } int functionB(int a,int b,int c) { return a + b + c; } int functionA(int a, int b, int c, int d, int e) { int x, y; x = functionB(a, b, c); y = functionC(a, b); return y = functionC(x, y); } int main() { int result = functionA(1, 3, 4, 6, 7); printf("结果是:%d\n", result); system("pause"); }</code></pre>

页面列表

ITEM_HTML