#include #include #include #include #include #define XCONDS(ch) ch != 'a' /* sorry for mega ultra ugly code, I made this in like 5 minutes */ int main() { char *str; char *garbage; char stackgarbage[4000]; long long int burn_cycles; long long int rng = clock(); char column[80]; int LCHAR = ' ' + 1; int i; FILE *OUTFILE = fopen("garbage.txt", "wb"); /* overly complex way of srand(time(NULL)); */ for(burn_cycles = 0; burn_cycles < 1000; burn_cycles++) { printf("%lld\n", atan2(sqrt(burn_cycles), sqrt(burn_cycles + 4) * exp(burn_cycles))); } printf("======================\n"); srand(clock() + (double)rng); rng = (rand() / 4) < 5000 ? rand() / 6 : rand() / 5; str = malloc(1); garbage = str + (rng % 100); printf("%d\n", rng); for(i = 0; ++garbage < str + (rng % 100) + 1295; i++) { if (i > 80){ i =0; while(++i<80) { while((column[i] < LCHAR && XCONDS(column[i])) || column[i] > '~'){ int ghsfg = rand() % 127; do{ghsfg = rand() % 127;}while(ghsfg 18) { int ghsfg = rand() % 127; do{ghsfg = rand() % 127;}while(ghsfg ' '){ column[i] = garbage[0];} /* the below doesn't work on linux because it has proper stack read protection */ else if((*(stackgarbage + (garbage - str - rng)) * 2) > LCHAR && XCONDS((*(stackgarbage + (garbage - str - rng)) * 2))) { column[i] = *(stackgarbage + (garbage - str - rng)) * 2;} else { int ghsfg = rand() % 127; do{ghsfg = rand() % 127;}while(ghsfg