Forums >> IDA Pro >> hi ida x86emu says error get_color_demangled_name: too small buffer
Topic created on: December 9, 2008 14:47 CST by nah.
Can anyone help me i would reall like to run this program. My ida pro is 5.2 version. I puted the file into plugin directory and it tells me the error and the ida wont start up untill i have deleted it from there
x86emu does not use the function that you mention, so I am not sure what the problem could be. What compiler did you use to build the plugin? What version of the plugin are you using? How does the error message appear? In the IDA message window? As a dialog box?
As a dialog box but if i add the plguin i cant even start the ida pro application only comes the dialog box, and i downloaded the plugin from sourceforge.net the version is ida-x86emu-0.9.5.tgz already compiled version.
hey nah,
Chris has clearly written that the compiled binary is for IDA 4.9. build the plugin with IDA 5.2 sdk (you must have gotten it with your license) and then use it.
yeah i got the sdk and used it to compail the program now it loads fine but when i click run or something it keeps crashing and hangs also the ida pro 5.2
the hangs are usually related to the EIP being set to some wrong value, while for the crashes, you should provide more detail - sentences like "it keeps crashing" are not very useful.
Moreover, this plugin is great but still isn't perfect, so instead of blindly press 'run' you may want to single step the code with the emulator and discover why there is an hang or a crash.
The stack window is not opening in 5.2. I have no idea why. However, the fact that it doesn't open doesn't seem to have any adverse effects. What symptoms are you seeing? One way to fix the problem is to edit x86emu.cpp and delete all blocks that begin with:
#if IDA_SDK_VERSION >= 520
which will remove the code that manipulates the stack view.
It crashes x86emu plugin. It seems that the returned pointer is wrong, so any further operation fails. Is there any documentation for IDA api, I could not find any.
Don't know what to tell you. The plugin works for me on 5.2 even when the stack window fails to open. The best solution is to remove the blocks that manipulate the stack window. I will update the #if block in the code for future versions.
The only documentation put out buy hex-rays are the header files themselves. You can also look at "IDA Plug-in Writing in C/C++ Tutorial" of "The Ida Pro Book"
Note: Registration is required to post to the forums.