View Full Version : Ollydbg and C++ Applications (specifically RTTI)
Santa Clawz
August 17th, 2004, 06:15
Greetings all,
Anyone here managed to get C++ applications to run in OllyDbg once analysed? When hitting F9 the target bails with an exception - 'Access violation: No RTTI data!'
Anyone had this problem and got round it? It's a great debugger which I'd like to use exclusively but can't if I can't reverse apps written in C++ (er, quite a few ;-)
Regards
Santa Clawz
sgdt
August 17th, 2004, 10:25
I think close to 99% of all apps I use Olly on are C++ (VC++ specificly).
It's not a C++ thing, but rather a protection thing. What you are seeing is the detection of Olly and the application getting pissed. More than likely, it was counting on something to catch the debug event and fill in required information.
What you should try first, to test your feeling it's olly, is to run the app under VC++ (load the exe into VC++, it'll complain you don't have debug info but run anyway). One can guarentee that VC++ *does* handle C++, so if it doesn't run, you can then know it's not that Olly somehow forgot how to deal with the most popular language in existance.
Santa Clawz
August 17th, 2004, 11:58
Cheers for the reply but unfortunately I do not have VC++! I use Dev-Cpp (I come from a Linux background so this works well for me!). I can disassemble the target OK. I have no other debuggers to test it with. Actually saying that, I did download microsofts debugger and it seemed to run OK in that. Although I hate that debugger so I removed it.
Are there any configuration options I may have that will procude this error? What are yours like?
Santa Clawz
babar0ga
August 17th, 2004, 13:44
You should go to and seek help there...hxxp://ollydbg.win32asmcommunity.net/
Silver
August 17th, 2004, 14:28
Point of note, there is no RTTI in vanilla C/C++ (apart from basic typecasting when building code). Normally some 3rd party lib is used that provides it, such as Boost (iirc).
Santa Clawz
August 18th, 2004, 03:30
Quote:
[Originally Posted by babar0ga]You should go to and seek help there...hxxp://ollydbg.win32asmcommunity.net/ |
Do you really think I havn't tried that!!? Huh.
Js
August 18th, 2004, 07:18
nice attitude, your post on olly forum is dated after your first post here and after babar0ga's reply.
Santa Clawz
August 18th, 2004, 11:01
Quote:
[Originally Posted by Js]nice attitude, your post on olly forum is dated after your first post here and after babar0ga's reply. |
Well that is odd then, I thought I posted that about 2 weeks ago. I re-posted it today yes, and also sent an E-mail to the author about a week ago so don't take me for some
unintuitive luser that can't be bothered to do their homework or at least try google or the webpage where they got the app. My attitude may have been a little hostile because I get sick of people posting replies like that, although I do sympathise - I know there are people who are out there who just want YOU to do THEIR work for them.
Plus, I'm having a bad day!
Regards
Santa Clawz
Powered by vBulletin® Version 4.2.2 Copyright © 2018 vBulletin Solutions, Inc. All rights reserved.