Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
weird error in foreach loop #22
Try compiling this function.
Then decompile it. You get this result:
In fact, whatever the condition of the 'if' is will be duplicated on the next line. E.g.
when it's placed inside the foreach loop.
I believe it's because this code in DecompileLoopJumpInstruction can skip ahead even when the current op is not OP_LINE.
I tried adding another check: