Logic chain parsing problems
Hi,
Can't decompile sm 1.10 files. it doesn't recognize opcodes and cause output like this:
/* ERROR PREPROCESSING! Unrecognized opcode: shl_c_pri */ function "funcname" (number x)
can you please fix it?
Do you have a sample plugin that generates that opcode?
first plugin that gives these errors; https://drive.google.com/open?id=1xJHoUK6_COgLTwSnSsmH2yS_IKHzY2Be second plugin, doesn't have RegConsoleCmd callback function names, and have lots of error inside. like /* ERROR unknown load Binary / or / ERROR! null */ https://drive.google.com/open?id=1-euKUIKWd_igxitpIUsbgilOl1lis2JK
I've added support for the shl.c.pri opcode. Most of the other errors are because this decompiler doesn't handle raw code without debug info very well. The file format for that info changed in SourcePawn 1.10 and I haven't added support to parse that new format yet.
now i checked and most of errors are gone, but still some errors occurs like; /* ERROR! lysis.nodes.types.DJump cannot be cast to lysis.nodes.types.DJumpCondition */
are they going to solve when sp 1.10 support added? and when can u add this support?
Can you post the sourcecode and smx of a sample plugin that throws that error? I'm not sure if that control flow problem is related to the 1.10 rtti changes. It will be done when it's done.
https://drive.google.com/open?id=1xJHoUK6_COgLTwSnSsmH2yS_IKHzY2Be after decompiled this plugin, errors occur in lines : 60, 191 and 270. Each line has unique errors please look them all
It'd would be handy if you'd post the source code of those plugins as well, to know what's correct.