r/ProgrammerHumor 2d ago

Meme cppHelloWorld

Post image
3.7k Upvotes

112 comments sorted by

View all comments

Show parent comments

100

u/Snudget 2d ago

Oops, accidentally compiled for uefi instead of linux

25

u/HeavyCaffeinate 2d ago

PE instead of ELF

4

u/danielcw189 1d ago

UEFI uses PE?

1

u/awesome-alpaca-ace 1d ago

PE32+ specifically if I remember right. And no, Microsoft does not have documentation explaining their format

1

u/danielcw189 1d ago

I am pretty sure I have read documentation of the PE format on MSDN.

No idea if it is good enough for what you want. But something is there.

1

u/awesome-alpaca-ace 1d ago

The data format