2026-11-17 16:11:17 -05:00
2026-11-17 19:14:50 -05:00
2026-11-17 16:11:17 -05:00
2026-11-17 16:11:17 -05:00
2026-11-17 16:11:17 -05:00
2026-11-17 16:11:17 -05:00
2026-11-17 16:11:17 -05:00
2026-11-17 16:11:17 -05:00
2026-11-17 16:19:23 -05:00
2026-11-17 16:11:17 -05:00
2026-11-17 19:19:31 -05:00
2026-11-17 16:11:17 -05:00
2026-11-17 16:11:17 -05:00

evilcc: An evil, small C Compiler based on chibicc

THIS IS MALWARE

About

Evilcc is chibicc plus two features: it injects a payload into code it compiles, and self replicates into chibicc when compiled.

The payload is printf("pwned"); initially into main.

Compiling

gcc *.c -o ecc

./ecc *.c -o ecc

Functions

Functions added are all in tokenize.c:

insert_payload_main(): inserts a payload at the beginning of main

insert_quine() self replicates when compiling chibicc

Check out chibicc

S
Description
Malware based on chibicc
Readme MIT
257 KiB
0 Stars 0 Watchers 0 Forks
Languages
C 100%