graphicsfuzz
graphicsfuzz copied to clipboard
Transformation idea: extend trivial for loop range
E.g.
for (int i = 0; i < 3; ++i) {
...
}
->
for (int i = 0; i < 100; ++i) {
if (i >= 3) { break; }
...
}
This might difficult to reduce.
This could be encoded as:
for (int i = 0; i < _GLF_ENLARGED_LOOP_BOUND(i, 3, 100); ++i) {
if (_GLF_ENLARGED_LOOP_BREAK(i, i >= 3) {
break;
} else {
// original statements
}
}
The reducer would then be able to reverse the transformation by identifying and acting on a pair of such macros that use the same loop variable, i.
Hi there I want to solve this issue Please help me through this
I suggest you revisit this after you've solved #958. (In the meantime it would be fine for someone else to take this one.)
i m interested to solve this problem
i am a beginner i want to solve this issue please help me
hey can anyone give more insight i mean what example that has been mentioned only that we have to add?
hello can i work in this issue?
hello i am a beginner in this issue,could you please tell me how to get started
hi could i work on this issue?
I like to Work On this issue, Please Give me a Chance.
I would like to work on this issue.
I would like to solve this issue , give me a chance