Closed raigorx closed 1 year ago
I am not 100% sure if control flow flattenning is working as intended after this fix, can you confirm?
Here is a small program in IDA before and after apply only control flow flattenning to main function via gui
before
after
Source code
#include <iostream>
using namespace std;
int main(int argc, char** argv) {
int a;
cout << "Enter a number between 1 and 20: ";
cin >> a;
if (a == 0)
return 1;
else
return 10;
return 0;
}
bad ImGui::EndChild()