windows - 在 IDA 中反汇编 Hello World 程序
问题描述
我在 IDA 7.0(免费软件版本)中反编译了这样一个简单的 c 程序(在 Microsoft Visual Studio Community 2019 中编译):
#include <stdio.h>
#include <string.h >
char* sayHello(char* resultStr, char* addedStr) {
strcat_s(resultStr, strlen(resultStr)+strlen(addedStr)+1, addedStr);
return resultStr;
}
int main() {
char str_in_1[100] = "Hello";
char str_in_2[] = " World!";
printf ("%s", sayHello(str_in_1, str_in_2));
}
现在我在Functions 窗口和IDA View-A中都找不到字符串sayHello
(函数名)。如何找出反汇编代码中函数的确切代码在哪里?sayHello
解决方案
推荐阅读
- javascript - 如何通过删除按钮删除产品?
- charts - Google Data Studio 中的折线图,其中 x 值根据其值间隔
- python - 我如何在带有scrapy的字段中写一些东西?
- oracle - PL/SQL:接收一个数组作为参数并循环遍历它
- asynchronous - 丢弃异步任务时不显示空引用异常
- java - 抛出异常但不停止程序的最佳方法是什么?
- video - ffmpeg webm_dash_manifest demuxer 失败并带有 webvtt 字幕
- javascript - Javascript Promise:无法从我的函数中获取返回值
- flutter - 转换未来
在颤振中布尔以检查数据库是否存在 - javascript - Mongodb更新另一个数组内的数组内的值