-
Cool,
This contest is getting interesting. I hope all goes well!
P.S. I can't Edit my posts after a while, so anyone that participates in the contest will be added to my signature. Once the contest is over, I will post all the contestants names and of course the winner.
- Stack Overflow
-
I would like to try and come up with something.
-
How might I go about obfuscating c++ code?? just stick in a bunch of dumb symbols or what?
-
Hello,
cerin: By obfuscating code, you literally take a normal piece of code and make it harder to understand. Literally by using #define to make code look less presentable with type shortcuts, etc... Maybe this link could help clear some things up.
Loctan: Sure. Everyone is welcome to join in!
- Stack Overflow
-
-
I'll give it a shot. Sounds like fun.
Can you intermix languages as long as it can all be compiled by a standard C compiler?
-
Hello,
andyhunter: Yes. As long as it works on any C/C++ compiler, i.e. gcc. If you include any special libraries, please state which ones. If you use any special gcc or other compiler flags, please state that also.
linuxdude: Cool!
- Stack Overflow
-
Sorry but that doesn't help me much because I c++ and have no programming background. Heh heh, sorry for the trouble.
-
No problem,
Take for example the following code:
Code:
#include <stdio.h>
int v,i,j,k,l,s,a[99];main(){for(scanf("%d",&s);*a-s;v=a[j*=v]-a[i],k=i<
s,j+=(v=j<s&&(!k&&!!printf(2+"\n\n%c"-(!l<<!j)," #Q"[l^v?(l^j)&1:2])&&++
l||a[i]<s&&v&&v-i+j&&v+i-j))&&!(l%=s),v||(i==j?a[i+=k]=0:++a[i])>=s*k&&
++a[--i]);printf("\n\n");}
If I asked you what it does, I would probably get a dumbfounded look. If I told you this program solves the n-queens problem with chessboard output, would you believe me? That is obfuscated code. There is no telling what it does, and it is difficult to reverse engineer such code. This code may be easy to reverse engineer, but in practical size source code I would have to think twice.
- Stack Overflow
-
-
the past 28 years of my life have been obfuscated.. does that count for anything towards this contest.. :rolleyes:
-
-
-
Awesome,
12 running contestants as of now. Keep 'em rolling! :cool: I've received a few submissions already. It's showing promise.
P.S. I will compile all submissions on Windows, .Net 2003 & Dev-C++ 4.9.9.0, and Linux, gcc / g++ 3.2.2, 3.3.2, and 3.4.2. Red Hat 9, Mandrake 10.0, and FreeBSD 5.3. Good luck!
- Stack Overflow
-
I'm up for it too!
I've never done the obfuscated thing before, but I'll have a crack at it.