flybytes icon indicating copy to clipboard operation
flybytes copied to clipboard

increment operator in loop tests blocks decompilation of loops

Open jurgenvinju opened this issue 6 years ago • 0 comments

For example, this loop is not recognized because the condition is not rewritten first to an expression, since it has side-effects with the x++. Special cases have to be detected for expressions with increment side-effects.

int whileWithContinue(int x) {
	    while (x++ < 10) { 
	        if (x % 2 == 0) {
	            continue;
	        }
	        else {
	            println(x);
	        }
        }
        
        return x;
	}

jurgenvinju avatar Oct 09 '19 09:10 jurgenvinju

Want to add a nextjs section to the README as a PR?

yocontra avatar May 13 '24 16:05 yocontra

@piotrszczesniak Can you include what you have included in your ./styles/MediaQueries ?

dwjohnston avatar Jun 08 '24 23:06 dwjohnston