updated readme
This commit is contained in:
@@ -9,12 +9,14 @@ The payload is `printf("pwned");` initially into main.
|
|||||||
|
|
||||||
## Compiling
|
## Compiling
|
||||||
gcc *.c -o ecc
|
gcc *.c -o ecc
|
||||||
|
|
||||||
./ecc *.c -o ecc
|
./ecc *.c -o ecc
|
||||||
|
|
||||||
## Functions
|
## Functions
|
||||||
Functions added are all in `tokenize.c`:
|
Functions added are all in `tokenize.c`:
|
||||||
|
|
||||||
`insert_payload_main()`: inserts a payload at the beginning of main
|
`insert_payload_main()`: inserts a payload at the beginning of main
|
||||||
|
|
||||||
`insert_quine()` self replicates when compiling chibicc
|
`insert_quine()` self replicates when compiling chibicc
|
||||||
|
|
||||||
Check out [chibicc](https://github.com/rui314/chibicc)
|
Check out [chibicc](https://github.com/rui314/chibicc)
|
||||||
|
|||||||
Reference in New Issue
Block a user