Reverse Engineering challenge #55.


#include <stdio.h>

void printing_function(int i)
{
	printf ("f(%d)\n", i);
};

int main()
{
	int i;

	for (i=2; i<10; i++)
		printing_function(i);

	return 0;
};

Compile this example in your favorite OS and compiler and modify (patch) the executable file so the loop range will be [6..20].

More challenges: //challenges.re/; about solutions: //challenges.re/#Solutions.