Code: Select all
int main() {
int i = 5;
i++;
i *= 6
return i;
}
Code: Select all
int main() {
for (int i = 0; i < 10; i++) {
printf("hello world\n");
}
return 0;
}
Wrote a bunch of simple programs encompassing arithmetics, comparisons, conditionals, jumps, loops, function calls, and found that they were pretty straightforward to understand since there are plenty of references on x86 instructions.
Is that enough to be able to hook a debugger onto a real windows program and be able to figure out what's going on?
Or are there other common problems that I'll run into?


