#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Posts
    1
    Rep Power
    0

    How to make a c code "hard to read"?


    Hello All,

    I'm looking for software which take readable and nice
    writing C code
    and make it hard to read and understand, without ofcourse, changing
    the output of that code.

    I heard there is thing called "uglyfier" but there is anyone who know more details about that?

    Best Regards

    Amit Zur
  2. #2
  3. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,643
    Rep Power
    4248
    1. Look at the code for The International Obfuscated C Code Contest for inspiration!
    2. See this article: http://www.chameleon-systems.com/Che...PerlTip01.html for obfuscation tips. This is for perl and has a few perl tools, but you could easily use them for C.

    Hope this helps!
  4. #3
  5. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Location
    USA
    Posts
    286
    Rep Power
    13
    If you don't want it read, don't release it.
    Jon Sagara

    "Me fail English? That's unpossible!"
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2002
    Location
    Blacksburg VA/Philly PA
    Posts
    38
    Rep Power
    13
    i would suggest overloading the period/dot (.) operator. that always makes things quite difficult.
  8. #5
  9. Rut row Raggy!
    Devshed Novice (500 - 999 posts)

    Join Date
    Jul 2001
    Location
    Tornado Alley
    Posts
    560
    Rep Power
    31
    Why would you want to make the code hard to read?
    Matt

IMN logo majestic logo threadwatch logo seochat tools logo