Author:
- Name: Ilya Kurdyukov
Location: RU - Russian Federation (Russia)
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.
- Binary data is supported.
- If there was a lot of data on the input (even just 64KB), then compiling the generated code can be a good stress test for the compiler.
- Why a spiral? I don’t know, just because it looks cooler this way.
Inventory for 2024/kurdyukov4
Primary files
- prog.c - entry source code
- Makefile - entry Makefile
- prog.orig.c - original source code
- try.sh - script to try entry
Secondary files
- 2024_kurdyukov4.tar.bz2 - download entry tarball
- README.md - markdown source for this web page
- .entry.json - entry summary and manifest in JSON
- .gitignore - list of files that should not be committed under git
- .path - directory path from top level directory
- index.html - this web page