Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #8878

Re: 13 year old C source - Thanks to all

From blp@cs.stanford.edu (Ben Pfaff)
Newsgroups comp.lang.c
Subject Re: 13 year old C source - Thanks to all
Date 2011-07-29 09:26 -0700
Message-ID <87fwlpvyrk.fsf@blp.benpfaff.org> (permalink)
References <j0tdfo045i@news1.newsguy.com> <ln1ux9f5w6.fsf@nuthaus.mib.org>

Show all headers | View raw


Keith Thompson <kst-u@mib.org> writes:

> buck <buck@private.mil> writes:
> [...]
>>> 'static char v[]={-20,-124,-180,-93,-88,-73,-27,-146,9,-38,-179 ...'
>>
>> I've examined the object code to see what values are present there but 
>> haven't found this array yet.
>
> This might help:
>
> ec 84 4c a3 a8 b7 e5 6e 09 da 4d 

Out of curiosity, I fed this into an 8086 disassembler, but the
results don't make much sense so I doubt that this is 8086
machine code:

   0:   ec                      in     (%dx),%al
   1:   84 4c a3                test   %cl,-0x5d(%si)
   4:   a8 b7                   test   $0xb7,%al
   6:   e5 6e                   in     $0x6e,%ax
   8:   09 da                   or     %bx,%dx
   a:   4d                      dec    %bp

-- 
char a[]="\n .CJacehknorstu";int putchar(int);int main(void){unsigned long b[]
={0x67dffdff,0x9aa9aa6a,0xa77ffda9,0x7da6aa6a,0xa67f6aaa,0xaa9aa9f6,0x11f6},*p
=b,i=24;for(;p+=!*p;*p/=4)switch(0[p]&3)case 0:{return 0;for(p--;i--;i--)case+
2:{i++;if(i)break;else default:continue;if(0)case 1:putchar(a[i&15]);break;}}}

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

13 year old C source - Thanks to all buck <buck@private.mil> - 2011-07-29 04:38 +0000
  Re: 13 year old C source - Thanks to all Roberto Waltman <usenet@rwaltman.com> - 2011-07-29 10:37 -0400
  Re: 13 year old C source - Thanks to all Kenneth Brody <kenbrody@spamcop.net> - 2011-07-29 11:02 -0400
  Re: 13 year old C source - Thanks to all Keith Thompson <kst-u@mib.org> - 2011-07-29 08:44 -0700
    Re: 13 year old C source - Thanks to all blp@cs.stanford.edu (Ben Pfaff) - 2011-07-29 09:26 -0700
      Re: 13 year old C source - Thanks to all Roberto Waltman <usenet@rwaltman.com> - 2011-07-29 12:42 -0400
        Re: 13 year old C source - Thanks to all Keith Thompson <kst-u@mib.org> - 2011-07-29 11:16 -0700
      Re: 13 year old C source - Thanks to all "BartC" <bc@freeuk.com> - 2011-07-29 23:23 +0100
      Re: 13 year old C source - Thanks to all Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2011-07-29 17:01 -0600
        Re: 13 year old C source - Thanks to all Gene <gene.ressler@gmail.com> - 2011-08-02 16:20 -0700
  Re: 13 year old C source - Thanks to all Stephen Sprunk <stephen@sprunk.org> - 2011-07-29 11:03 -0500
  Re: 13 year old C source - Thanks to all Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2011-07-29 16:57 -0600
    Re: 13 year old C source - Thanks to all buck <buck@private.mil> - 2011-08-02 17:11 +0000
      Re: 13 year old C source - Thanks to all Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2011-08-02 12:29 -0600
  Re: 13 year old C source - Thanks to all Gene <gene.ressler@gmail.com> - 2011-07-31 06:10 -0700
  Re: 13 year old C source - Thanks to all Michael Press <rubrum@pacbell.net> - 2011-08-03 21:08 -0700

csiph-web