4 ms·
Or, as any CTFer worth their salt will tell you, __asm__(“.incbin file”);
by saagarjha 7y ago
Or, as any CTFer worth their salt will tell you,
__asm__(“.incbin file”);
- gpvos 7y agoCTF = ?
- cosarara 7y agoA capture the flag challenge https://ctftime.org/ctf-wtf/ https://ctftime.org/ctf-wtf/
- jagrsw 7y agoA real world example of use: https://github.com/google/honggfuzz/blob/075756bea8d1f08eb19d5de18e48d264038b853c/hfuzz_cc/hfuzz-cc.c#L28 https://github.com/google/honggfuzz/blob/075756bea8d1f08eb19... I think it's a bit better than ld -b binary ... cause it doesn't depend on the static linker generating symbols, which feels a bit like a non-standard/non-portable feature. But, who knows, maybe the vast majority of ld variants actually implement it.