boomerang icon indicating copy to clipboard operation
boomerang copied to clipboard

Decompile progress bar incorrectly updated

Open reductor opened this issue 11 years ago • 5 comments

When decompiling "Boomerang::get()->alert_decompiling(this);" is called more then once per prog, causing the progress bar to loop around on windows, and potentially other side effects on other platforms.

reductor avatar May 30 '14 10:05 reductor

Decompilation will be ran a few times on the same function, so there's no way it could be changed on the 'engine' side. On the other hand, we might fix it on the gui side, either:

  • by changing the progress bar from it's current form to indeterminate progress bar ( just setting min and max to 0s will do the job )
  • or holding a std::set of Procs to prevent counting the same Proc multiple times.

What do You think ?

nemerle avatar May 30 '14 19:05 nemerle

We already associate a status with a proc we can use it to displaya per function status. Is there any reason we use a tree for the decompile when really a call can exist multiple times from multiple callers?

reductor avatar May 30 '14 20:05 reductor

I confess that I never used the boomerang's qt gui . Shame on me :) My guess ? That tree view is a poor-man's call graph view ;)

nemerle avatar May 30 '14 20:05 nemerle

We should probably have a specific place to get a call graph rather then using the decompile page

reductor avatar May 30 '14 20:05 reductor

Agreed, call graph should be a separate thing, and that tree should be a simple linear list.

nemerle avatar May 30 '14 20:05 nemerle