【问题标题】:IDA eh vector constructor iteratorIDA eh 向量构造函数迭代器
【发布时间】:2021-10-08 11:50:09
【问题描述】:

我尝试通过 IDA pro 对某些类进行反编译,结果如下:

`eh vector constructor iterator'(
(char *)this->ObtainPickItemList,
28u,
12,
(void (__thiscall *)(void *))std::string::string,
std::string::~string);

我知道 'this->ObtainPickItemList' 是包含 12 个元素的 std::string 数组,但 28 是多少? 提前致谢!

【问题讨论】:

    标签: c++ reverse-engineering ida


    【解决方案1】:

    28 应该是单个 std::string 对象的大小,这就是 sizeof(std::string) 将为编译到您尝试反编译的二进制文件中的特定 std::string 实现返回的大小。

    请注意,当您尝试在您的平台上编译时,大小可能与sizeof(std::string) 返回的大小不同。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-05-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-11-10
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多