Merge pull request #272 from xexyl/2019-endoh
This commit is contained in:
3 files changed
+10
-9
No files matched your search
@@ -1 +1,2 @@
|
|||||||
prog
|
prog
|
||||||
|
prog2.c
|
||||||
+2
-2
@@ -65,7 +65,7 @@ CINCLUDE=
|
|||||||
|
|
||||||
# Optimization
|
# Optimization
|
||||||
#
|
#
|
||||||
OPT= -O3
|
OPT=
|
||||||
|
|
||||||
# Default flags for ANSI C compilation
|
# Default flags for ANSI C compilation
|
||||||
#
|
#
|
||||||
@@ -129,7 +129,7 @@ all: data ${TARGET}
|
|||||||
supernova deep_magic magic charon pluto
|
supernova deep_magic magic charon pluto
|
||||||
|
|
||||||
${PROG}: ${PROG}.c
|
${PROG}: ${PROG}.c
|
||||||
${CC} ${CFLAGS} $< -o $@ ${LIBS}
|
${CC} ${CFLAGS} -g $< -o $@ ${LIBS}
|
||||||
|
|
||||||
# alternative executable
|
# alternative executable
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# Most in need of debugging
|
# Most in need of debugging
|
||||||
|
|
||||||
Yusuke Endoh
|
Yusuke Endoh
|
||||||
Twitter: @mametter
|
Twitter: @mametter
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
@@ -18,17 +18,17 @@ make
|
|||||||
## Try:
|
## Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
gdb ./prog || llvm ./prog
|
gdb ./prog || lldb ./prog
|
||||||
```
|
```
|
||||||
|
|
||||||
## Judges' comments:
|
## Judges' comments:
|
||||||
|
|
||||||
The purpose of this program is to crash. You'll want to have memorized "man
|
The purpose of this program is to crash. You'll want to have memorized `man 7
|
||||||
ascii" when debugging it to reveal its purpose.
|
ascii` when debugging it to reveal its purpose.
|
||||||
|
|
||||||
## Author's comments:
|
## Author's comments:
|
||||||
|
|
||||||
### backtrace quine
|
### backtrace quine:
|
||||||
|
|
||||||
Compile prog.c with no optimization.
|
Compile prog.c with no optimization.
|
||||||
|
|
||||||
@@ -78,7 +78,7 @@ See the line numbers and lookup the ASCII table.
|
|||||||
101 = 'e'
|
101 = 'e'
|
||||||
...
|
...
|
||||||
|
|
||||||
### One more thing
|
### One more thing:
|
||||||
|
|
||||||
The original program can be used as a GDB command file.
|
The original program can be used as a GDB command file.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user