Slashdot Mirror


The 2006 Underhanded C Contest Begins

Xcott Craver writes "The second annual Underhanded C Code Contest is live as of April 4th, and runs until July 4th. The object is to write malicious C code that looks perfectly readable and innocent under informal inspection of the source."

9 of 232 comments (clear)

  1. fZuc4. by Anonymous Coward · · Score: -1, Offtopic
  2. Evil Macro by dduardo · · Score: -1, Offtopic

    #ifdef _WIN32
    #define SLOW 1
    #else
    #define SLOW 0
    #endif

  3. Re:Can someone explain this to me? by digitaldc · · Score: 1, Offtopic

    From the FAQ: Why?
    We were initially inspired by Daniel Horn's Obfuscated V contest in the fall of 2004. I was greatly impressed to see how even a short program to simply count characters in a text file can be made to fail, and fail only on one specific day.
    The longer answer is that my research interests are in covert behavior: detecting it, and getting past people who try to detect it.


    The prize is $100.00, I think it should be more IMHO.

    --
    He who knows best knows how little he knows. - Thomas Jefferson
  4. Re:I Win by Anonymous Coward · · Score: -1, Offtopic

    I'm so fucking tired of these retarded jokes that are so unoriginal and profoundly boring that it boggles the mind how anyone could devalue themselves to post them.

    So you got your account yesterday here at Slashdot, user 954014, eh? Want to belong with the crowd? Want to demonstrate that you too can spew some pointless MS hate (sorry, is that spelled with a dollar sign?)? Congratulations, you succeeded. Not sit back and relax while the other 13-year old Slashbots who couldn't produce a coherent sentence about what IE really does wrong or what they think should be done to fix it if their lives depended on it.

    God, I hate this site so much.

  5. Re:obsolete by Anonymous Coward · · Score: -1, Offtopic

    Did the teach trolling at your university? It looks like you failed.

  6. I love C by usidoesit · · Score: 0, Offtopic

    At the risk of being redundant... Was just configuring a PHP include file, realizing there is not standard or even accepted practice for the names and forms of include files in PHP. I remember this one C project though that had standardized on having no compiler checking on function declarations, prefering instead this giant switch statement that decided what function to call at runtime. What a nightmare. This was a "best practice". Had arrived late as a troubleshooter, took me forever to recover my senses and ask why the hell are we doing this. For applications, I would think the names and forms of things would be more standard in Ruby, will see...I like Python for its significant whitespace.

  7. Re:Can someone explain this to me? by orthogonal · · Score: 0, Offtopic
    Yes, for instance we could say it is malicious if it wouldn't halt

    It's a sad commentary on Slashdot's users that this is only modded to (as of this writing) +3.


    Come on guys, shouldn't every coder have at least some vague idea of what the Halting Problem is, not to mention its implications for computing in particular and the limits of what is knowable in general.

    Hilbert's Program is dead! Since 1931! Quick, somebody inform Slashdot! :)

  8. Re:Can someone explain this to me? by nuzak · · Score: 0, Offtopic

    .    *     <-- the joke
    .
    .    O     <-- you
    .   -+-
    .    |
    .   / \

    --
    Done with slashdot, done with nerds, getting a life.
  9. Re:Can someone explain this to me? by orthogonal · · Score: 0, Offtopic

    No, silly, I meant the OP should have been modded +5 Funny.