dll - 在 Ida Pro 中查找字符串数据引用的引用

标签 dll reverse-engineering ida

我想破解一个 dll。

我的 dll 返回错误消息(返回,而不是 MessageBox)。 我在 ida Pro 中打开了我的 dll。

我找到了我的字符串数据引用,但没有找到外部参照。当我尝试从中查找外部参照时,出现“找不到任何外部参照”。

有人可以帮助我吗?请问怎么找引用?我想找到返回此字符串的测试,以便修补此 dll。它是一个 ODBC 驱动程序。

enter image description here enter image description here enter image description here

这是为了破解,而不是破解;) 我有许可证,但我想更改 odbc 驱动程序(dll)中的限制。

非常感谢,

最佳答案

该字符串可能是通过字符串数组引用的(第三个屏幕截图可能就是这个数组)。这在汇编中会转化为类似这样的内容:

lea eax, StringArray ; load base of string array
mov ecx, StringIndex ; get string index in array

mov eax, [eax+ecx*4] ; eax (dest) = pointer to string

您可能只需要转到字符串数组的开头即可找到引用(引用数组上的第一个字符串,因此引用数组本身)。

关于dll - 在 Ida Pro 中查找字符串数据引用的引用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23347493/

相关文章:

entity-framework - 对 Entity Framework 的表子集进行逆向工程

c - 为什么 MSVC Debug模式会为一个空的 if() 主体而不是另一个(i++ vs.++i)省略 cmp/jcc?

c# - C++ dll 将 utf8 作为 const char* 发送,c# 需要做什么……什么?

c++ - 无法在动态链接库 HCNetSDK.dll 中找到程序入口点 NET_DVR_RealPlay_V40

c++ - MATLAB 到 C++ 代码行转换

masm32 - 读取反汇编代码

c++ - 使用内联 asm Hook usercall

reverse-engineering - 无法找到 grapher 'qwingraph.exe' ida

windows - DLL 从其父级(加载程序)获取符号

java - 无法加载 JNI 共享库 "C:\Windows\system32\..\jre\bin\client\jvm.dll\"ECLIPSE