Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7761903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T14:15:17+00:00 2026-06-01T14:15:17+00:00

I saw this code in http://www.cise.ufl.edu/~manuel/obfuscate/obfuscate.html (http://www.cise.ufl.edu/~manuel/obfuscate/savastio) website.But this code is very very crazy.

  • 0

I saw this code in http://www.cise.ufl.edu/~manuel/obfuscate/obfuscate.html (http://www.cise.ufl.edu/~manuel/obfuscate/savastio) website.But this code is very very crazy. I could not able to understand what is happening when it is happening.
Please help me. Let me know what is happening when each line is getting executed.
e.g. printf function is there, if we will see there is no statement called as “Enter the number“. But still while executing it is asking “Enter the number“. From where it is comming.
And why the code is written like this. It looks like “n!“(Though it means factorial).
Please help me.

#include <stdio.h>

#define l11l 0xFFFF
#define ll1 for
#define ll111 if
#define l1l1 unsigned
#define l111 struct
#define lll11 short
#define ll11l long
#define ll1ll putchar
#define l1l1l(l) l=malloc(sizeof(l111 llll1));l->lll1l=1-1;l->ll1l1=1-1;
#define l1ll1 *lllll++=l1ll%10000;l1ll/=10000;
#define l1lll ll111(!l1->lll1l){l1l1l(l1->lll1l);l1->lll1l->ll1l1=l1;}\
lllll=(l1=l1->lll1l)->lll;ll=1-1;
#define llll 1000




                                                     l111 llll1 {
                                                     l111 llll1 *
      lll1l,*ll1l1        ;l1l1                      lll11 lll [
      llll];};main      (){l111 llll1                *ll11,*l1l,*
      l1, *ll1l, *    malloc ( ) ; l1l1              ll11l l1ll ;
      ll11l l11,ll  ,l;l1l1 lll11 *lll1,*            lllll; ll1(l
      =1-1 ;l< 14; ll1ll("\t\"8)>l\"9!.)>vl"         [l]^'L'),++l
      );scanf("%d",&l);l1l1l(l1l) l1l1l(ll11         ) (l1=l1l)->
      lll[l1l->lll[1-1]     =1]=l11l;ll1(l11         =1+1;l11<=l;
      ++l11){l1=ll11;         lll1 = (ll1l=(         ll11=l1l))->
      lll; lllll =(            l1l=l1)->lll;         ll=(l1ll=1-1
      );ll1(;ll1l->             lll1l||l11l!=        *lll1;){l1ll
      +=l11**lll1++             ;l1ll1 ll111         (++ll>llll){
      l1lll lll1=(              ll1l =ll1l->         lll1l)->lll;
      }}ll1(;l1ll;              ){l1ll1 ll111        (++ll>=llll)
      { l1lll} } *              lllll=l11l;}
      ll1(l=(ll=1-              1);(l<llll)&&
      (l1->lll[ l]              !=l11l);++l);        ll1 (;l1;l1=
      l1->ll1l1,l=              llll){ll1(--l        ;l>=1-1;--l,
      ++ll)printf(              (ll)?((ll%19)        ?"%04d":(ll=
      19,"\n%04d")              ):"%4d",l1->         lll[l] ) ; }
                                                     ll1ll(10); }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T14:15:18+00:00Added an answer on June 1, 2026 at 2:15 pm

    As a start, you can get the code indented properly and remove the indirection caused by the #defines. The indentation can be done by GNU indent and gcc -E will do the preprocessing. Assuming the code is in factorial.c (this requires using the command line):

    > gcc -E factorial.c | indent > clean_factorial.c
    

    A thing to note is the preprocessing step will dump all of stdio.h into clean_factorial.c; but that is irrelevant information, so we should comment out/delete #include<stdio.h> before running gcc -E. This basically gives:

    struct llll1
    {
      struct llll1 *lll1l, *ll1l1;
      unsigned short lll[1000];
    };
    main ()
    {
      struct llll1 *ll11, *l1l, *l1, *ll1l, *malloc ();
      unsigned long l1ll;
      long l11, ll, l;
      unsigned short *lll1, *lllll;
      for (l = 1 - 1; l < 14; putchar ("\t\"8)>l\"9!.)>vl"[l] ^ 'L'), ++l);
      scanf ("%d", &l);
      l1l = malloc (sizeof (struct llll1));
      l1l->lll1l = 1 - 1;
      l1l->ll1l1 = 1 - 1;
      ll11 = malloc (sizeof (struct llll1));
      ll11->lll1l = 1 - 1;
      ll11->ll1l1 = 1 - 1;
      (l1 = l1l)->lll[l1l->lll[1 - 1] = 1] = 0xFFFF;
      for (l11 = 1 + 1; l11 <= l; ++l11)
        {
          l1 = ll11;
          lll1 = (ll1l = (ll11 = l1l))->lll;
          lllll = (l1l = l1)->lll;
          ll = (l1ll = 1 - 1);
          for (; ll1l->lll1l || 0xFFFF != *lll1;)
            {
              l1ll += l11 ** lll1++;
              *lllll++ = l1ll % 10000;
              l1ll /= 10000;
              if (++ll > 1000)
                {
                  if (!l1->lll1l)
                    {
                      l1->lll1l = malloc (sizeof (struct llll1));
                      l1->lll1l->lll1l = 1 - 1;
                      l1->lll1l->ll1l1 = 1 - 1;;
                      l1->lll1l->ll1l1 = l1;
                    }
                  lllll = (l1 = l1->lll1l)->lll;
                  ll = 1 - 1;
                  lll1 = (ll1l = ll1l->lll1l)->lll;
                }
            }
          for (; l1ll;)
            {
              *lllll++ = l1ll % 10000;
              l1ll /= 10000;
              if (++ll >= 1000)
                {
                  if (!l1->lll1l)
                    {
                      l1->lll1l = malloc (sizeof (struct llll1));
                      l1->lll1l->lll1l = 1 - 1;
                      l1->lll1l->ll1l1 = 1 - 1;;
                      l1->lll1l->ll1l1 = l1;
                    }
                  lllll = (l1 = l1->lll1l)->lll;
                  ll = 1 - 1;
                }
            }
          *lllll = 0xFFFF;
        }
      for (l = (ll = 1 - 1); (l < 1000) && (l1->lll[l] != 0xFFFF); ++l);
      for (; l1; l1 = l1->ll1l1, l = 1000)
        {
          for (--l; l >= 1 - 1; --l, ++ll)
            printf ((ll) ? ((ll % 19) ? "%04d" : (ll =
                                                  19, "\n%04d")) : "%4d",
                    l1->lll[l]);
        }
      putchar (10);
    }
    

    This is slightly readable, and we can do things like rename variables so that we can tell them apart easily, even if we don’t know what they do yet. E.g. this will rename the struct to structure, and call the pointers inside it left and right (you can do this with the find-replace tool in your editor too):

    > sed -i 's/llll1/structure/g; s/lll1l/left/g; s/ll1l1/right/g;' clean_factorial.c
    

    (you have to be careful of the order, or the replacement for lll might conflict with lllll, for example).

    There are some other easy things to do:

    • 1 - 1 occurs a lot: replace it with 0 (and 1 + 1 too, except replace that with 2 instead of 0).
    • The line with "\t\"8)>l\"9!.)>vl"[l] ^ 'L' just goes along the string printing each character after xor’ing it with 'L' (work out why! It might help to put the putchar in the body of the for loop, rather than in the comma-statement).
    • putchar(10) just prints a new line.
    • Know about the comma operator.

    Other than that, it’s just a lot of hard work. You can and should use tools like a debugger to trace the flow of execution and work out what is happening where.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I saw this piece of code: var request = (HttpWebRequest) WebRequest.Create(http://www.google.com); Why do you
I just saw this page : http://www.gdconf.com/expo/exhibitorlist.html It has a cool drop down details
I saw this code snippet const volatile int * volatile * const X; but
I saw this ( http://code.google.com/p/easyprop/ ) library and it seems a good library. I
As i saw on this page http://www.labnol.org/internet/embed-youtube-videos-logoless/19532/ about how to hide youtube logo from
Website test page: http://www.lantiis.com/indexold.html jsFiddle: http://jsfiddle.net/Guhb4/7/ I received help with the jQuery and it
I just saw this video http://www.youtube.com/watch?v=y71lli8MS8s and find it amazing. The question is about
I have PHP source code of http://www.sitename.com . This site is located on Windows
I saw this code snippet during our lab and it actually compiles in MSVC2008
I just saw this code while studying the wordpress source code (PHP), You can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.