Open sachindkini opened 5 years ago
Thanks for the feed back Well code is alpha state. Well a very cheap workaround here can be to stuck on the n-key. To quickly close each message box with 'no'. ... or press Yes and uncomment the message box in the source code.
Well I remember that when I stopped working on that project that there were serve problems with the 'brancher'. I was doing some 'optimization' for nicer Lisp code that messed up the hole thing. (+Sorry I was not realing using github so you may go back to a somehow working version.) In some situations it will mess the Interpretation pointer making it pointing in the middle of some command, result is that it interpret a parameter as a command. That will messing up interpretation for one or commands. (Until Interpretation flow slips back into normal flow.)
So you may disable the brancher and scarify the decompiling of If and cond repeat ... in favor for completing the decompile on asm level.
So Plan A: in the Form 'frm_main' make 'Disable Brancher' visible and enable it.
In case that has no effect.(I guess I didn't implementierend disabling the brancher).
You'll need to disable it in the sources:
Cut off the function 'Decompile' in Fas_Brancher.cls
https://github.com/Hopfengetraenk/Fas-Disasm/blob/c4c0ed65e6b9f230dda9dcd0feeb898d6ef7f64c/src/Fas_Brancher.cls#L285
by just putting an End Sub
just after its beginning.
If there are still problems in finishing the disassembly Open "src/FasFile.cls" and search for "brancher." - watch the code around carefully and then uncomment it.
Plan B is of course fixing the problem. In case you try have a look at https://github.com/Hopfengetraenk/Fas-Disasm/blob/master/Branching%20If%20Cond%20And%20while%20repeat.txt that shows the specs of and the 'pattern' to recognize branches and loops.