IOCCC image by Matt Zucker

The International Obfuscated C Code Contest

2024/kurdyukov4 - Prize in embiggening

encode without literals

Author:

To build:

    make all

Bugs and (Mis)features:

The current status of this entry is:

STATUS: known bug - please help us fix

For more detailed information see 2024/kurdyukov4 in bugs.html.

In fixing this bug you will come to a better appreciation of how the code was able to process random data files as large as 64K.

To use:

    ./prog < data > out.c

Try:

    ./try.sh

Judges’ remarks:

This program assembles data from standard input and write C code on standard output:

    ./prog < input > out.c

When if you have the patience to compile and if your C compiler does not object, the resulting program when run:

    cc out.c -o out
    ./out > output

re-assemble the original input WITHOUT USING ANY LITERALS in the C code it produced!

You mind may go into a spiral as you attempt to read and understand how this is done. :-)

Author’s remarks:

No Literals Encoder

This program creates C code that will output the specified data to stdout. There are no literals used in the generated code.

Inventory for 2024/kurdyukov4

Primary files

Secondary files


Jump to: top