Consider this small script:
while(true) {
if(!this.condition) {
if(--n <= 0) { break; }
}
}
When compiled and decompiled, the output is:
while (true) {
if (!this.condition) {
if (--this.n <= 0) {
}
}
}
The 'break' statement is missing, resulting in an infinite loop.
Consider this small script:
When compiled and decompiled, the output is:
The 'break' statement is missing, resulting in an infinite loop.