GithubHelp home page GithubHelp logo

Comments (3)

PeterMatula avatar PeterMatula commented on July 30, 2024

Rewrite to IDA SDK 7.0 did not help. This is still happening.

I tried to solve it, but I did not succeed. I tried to play with different WOPN_ combinations, different parent widgets for create_custom_viewer(), and looked for related functionality in kernwin.hpp, but nothing helped.

I have no more ideas, maybe someone can help.

from retdec-idaplugin.

PeterMatula avatar PeterMatula commented on July 30, 2024

This issue is even worse I realized. Weird RetDec window jumping is also happening when function renaming action happens. The window gets docked to the right of the current ASM output window. I played around with set_dock_pos(), get_current_widget(), and get_current_viewer(), but so far no luck.

from retdec-idaplugin.

PeterMatula avatar PeterMatula commented on July 30, 2024

Getting a get_current_widget() when decompilation is triggered and activate_widget() it before display_widget() of decompilation result works, but the problem is if the widget that was taken is closed in the meantime. That will cause segfault.

Simple solution is to use jumpto(decompiled_function->start_ea) before showing the function. This should be always safe and it should take care of all the problems I can think of at the moment. The only downside is that we are changing position in IDA view without users requesting it. But it is probably not a big problem.

from retdec-idaplugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.