Billion laughs attack
en.wikipedia.org
en.wikipedia.org
https://www.owasp.org/index.php/XML_External_Entity_(XXE)_Pr...
C preprocessor?
$ gcc -E - | wc
#define EXP(X) X X X X X X X X X X X X X X X X
#define LOL1 EXP(LOL)
#define LOL2 EXP(LOL1)
#define LOL3 EXP(LOL2)
#define LOL4 EXP(LOL3)
#define LOL5 EXP(LOL4)
LOL5
[Ctrl-D][Enter]
11 1048588 4194376
Not normally considered a "file format", though. People don't open a C preprocessor attachment in their e-mail only to have some application grind their PC and crash. Or use this for RPC calls and whatnot.EDIT: In spite of those who are downvoting my comment without even replying, I'm leaving it anyway; cause sharing good software outweighs whatever loss they intend to inflict.
"Btw I use Rust".
I don't get your analogy.
How do you know someone uses "X"? Don't worry, they'll tell you.
The desk sergeant asks, "Can you describe the mugger?"
"Not really, he grabbed me from behind. I know he's a man, bigger than me, and he's vegan."
"How on earth do you know he's vegan?"
"He bloody told me!"