吾爱破解 - LCG - LSG |安卓破解|病毒分析|www.52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 1041|回复: 0
收起左侧

[Android 求助] IDA分析so源码的问题,一个函数传来一个结构体地址,请问如何用IDA确定是那个结构?

[复制链接]
泗銯釢 发表于 2021-9-22 10:13
[C++] 纯文本查看 复制代码
int __cdecl sub_149FA6(int address, int buffer, int *bufferCapacity)
{
  int result; // eax
  int oldCapacity; // ecx
 
  result = address;
  oldCapacity = *bufferCapacity;
  *bufferCapacity = 0;
  if ( *(address + 24) != 17 )
  {
    result = *(address + 8);
    if ( result )
    {
      if ( buffer )
      {
        result = (*(*result + 20))(result, buffer, 1, oldCapacity);
        if ( result == unk_E4B71C )
          return result;
      }
      else
      {
        result = (*(*result + 32))(result);
      }
      *bufferCapacity = result;
      return result;
    }
  }
  return result;
}


比如上面那个函数,address这个地址, 在函数里是这样用的,怎么才能知道这个地址是哪个结构体? .

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则 警告:本版块禁止回复与主题无关非技术内容,违者重罚!

快速回复 收藏帖子 返回列表 搜索

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-4-25 12:42

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表