开发者

Identify C++ class members from asm listing

开发者 https://www.devze.com 2023-03-11 22:54 出处:网络
I\'m trying to disassemble and understand an old game\'s launcher (asm listing at http://pastebin.com/raw.php?i=6Z4Xu3Cg). It was built using Borland C++ 1995 and there are four classes with names and

I'm trying to disassemble and understand an old game's launcher (asm listing at http://pastebin.com/raw.php?i=6Z4Xu3Cg). It was built using Borland C++ 1995 and there are four classes with names and dtor addresses in the asm listing. How do I find out to which class the other functions belong? How do I identify the vtable? It should, after all, contain everything.

By the way, this is NOT about copy protection breaking. The game is so old, it doesn't have any form of protectio开发者_如何学编程n. What I'm trying to do is the same thing as the OpenTTD devs did.

Thank you, harddisk


No, it doesn't contain everything. Every symbol that's not dynamically dereferenced probably has been striped. What a disassembler can do is identifying the typical structure of particular compiler's output and give it some meaning.

0

精彩评论

暂无评论...
验证码 换一张
取 消