fix Makefile and README.md for 2012/zeitak

Rename the obfuscated source.
This commit is contained in:
Landon Curt Noll committed 2023-03-23 23:29:16 -07:00
1 parent 46da66b3f7
commit 84fad51c65
3 files changed
+25 -22

No files matched your search

+4 -4
View File
@@ -168,11 +168,11 @@ ENTRY= zeitak
PROG= ${ENTRY} PROG= ${ENTRY}
# #
OBJ= ${PROG}.o OBJ= ${PROG}.o
DATA= DATA= incorrect.c
TARGET= ${PROG} TARGET= ${PROG}
# #
ALT_OBJ= ${PROG}_deobfucate.o ALT_OBJ= ${PROG}.alt.o
ALT_TARGET= ${PROG}_deobfucate ALT_TARGET= ${PROG}.alt
################# #################
@@ -189,7 +189,7 @@ all: data ${TARGET}
${PROG}: ${PROG}.c ${PROG}: ${PROG}.c
${CC} ${CFLAGS} $< -o $@ ${LIBS} ${CC} ${CFLAGS} $< -o $@ ${LIBS}
${PROG}_deobfucate: ${PROG}_deobfucate.c ${PROG}.alt: ${PROG}.alt.c
${CC} ${CFLAGS} $< -o $@ ${LIBS} ${CC} ${CFLAGS} $< -o $@ ${LIBS}
# alternative executable # alternative executable
+21 -18
View File
@@ -1,40 +1,44 @@
# Balanced use of obfuscation - Gold award # Balanced use of obfuscation - Gold award
Adar Zeitak Adar Zeitak
<aa4z2@walla.co.il> <aa4z2@walla.co.il>
## To build: # To build:
make all ```sh
make
### To run ```
make zeitak
### To run: ### To run:
./zeitak < file.c ```sh
./zeitak < file.c
```
where file.c is the file to be checked for nesting errors. For example, you may where file.c is the file to be checked for nesting errors. For example, you may
try incorrect.c and the program itself. try incorrect.c and the program itself.
### Try: ### Try:
./zeitak < zeitak.c ```sh
./zeitak < incorrect.c ./zeitak < zeitak.c
./zeitak < incorrect.c
```
### Alternate code ### Alternate code
An alternate version of this entry, `zeitak\_deobfucate.c`, is provided. An alternate version of this entry, `zeitak.alt.c`, is provided.
The file `zeitak\_deobfucate.c` provides a version that has been slightly The file `zeitak.alt.c` provides a version that has been slightly
deobfuscated. You may find reading that file helpful in your attempt deobfuscated. You may find reading that file helpful in your attempt
to understand this extremely subtle entry. to understand this extremely subtle entry.
To compile this alternate version: To compile this alternate version:
make alt ```sh
make alt
```
Use `zeitak\_deobfucate.c` as you would `zeitak` above. Use `zeitak.alt` as you would `zeitak` above.
## Judges' comments ## Judges' comments
@@ -116,11 +120,10 @@ Additional obfuscations include:
** Windows 7 32-bit with GCC ** Windows 7 32-bit with GCC
** Windows 7 32-bit with OpenWatcom ** Windows 7 32-bit with OpenWatcom
-------------------------------------------------------------------------------- ## Copyright:
<!--
(c) Copyright 1984-2015, [Leo Broukhis, Simon Cooper, Landon Curt Noll][judges] - All rights reserved (c) Copyright 1984-2015, [Leo Broukhis, Simon Cooper, Landon Curt Noll][judges] - All rights reserved
This work is licensed under a [Creative Commons Attribution-ShareAlike 3.0 Unported License][cc]. This work is licensed under a [Creative Commons Attribution-ShareAlike 3.0 Unported License][cc].
[judges]: http://www.ioccc.org/judges.html [judges]: http://www.ioccc.org/judges.html
[cc]: http://creativecommons.org/licenses/by-sa/3.0/ [cc]: http://creativecommons.org/licenses/by-sa/3.0/
-->
File renamed without changes.