This is a migrated thread and some comments may be shown as answers.

Code generates label out of scope of goto

2 Answers 10 Views
This is a migrated thread and some comments may be shown as answers.
Alun
Top achievements
Rank 1
Alun asked on 18 Sep 2012, 11:37 AM
I'm decompiling a few executables as part of a 'data recovery' exercise, and while JD is doing a pretty fantastic job, I've found that it's created in one instance a label that is out of scope of all of the "goto" commands that want to reach it. It seems that this is because the label is inside several 'while' loops, where it should actually be outside the topmost one.
Sadly I don't have the original source code that generated the executable, but I can send the executable if someone is brave enough to have a look at it and see why. In the meantime, I'll see if I can cause the problem with some smaller code.

2 Answers, 1 is accepted

Sort by
0
Tsviatko Yovtchev
Telerik team
answered on 19 Sep 2012, 08:57 AM
Thanks for letting us know about this.

It'd be really nice if you could send over the executable and let us know where exactly that happens. Please, zip it and mail it over to tsviatko.yovtchev at . telerik.com

Greetings,
Tsviatko Yovtchev
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

0
Alun
Top achievements
Rank 1
answered on 20 Sep 2012, 06:41 AM
I've sent the email on, hopefully it's an easy fix.
Asked by
Alun
Top achievements
Rank 1
Answers by
Tsviatko Yovtchev
Telerik team
Alun
Top achievements
Rank 1
Share this question
or