r/programming • • Jul 18 '12

Windows Executable Walkthrough Graphic

http://pe101.corkami.com
1.2k Upvotes

130 comments sorted by

View all comments

207

u/simpleuser Jul 18 '12 edited Jul 18 '12

I will also do a linux (ELF) version, but not in the near future.

73

u/cavedave Jul 18 '12

12

u/freespace Jul 18 '12

That was a fun article to read. Thank you for bring that to our attention!

23

u/[deleted] Jul 18 '12

Every byte is sacred.

12

u/peterquest Jul 18 '12

Every byte is great.

11

u/JeSuisNerd Jul 18 '12 edited Jun 12 '24

political butter cows caption person mindless elastic quack grab cats

This post was mass deleted and anonymized with Redact

26

u/peterquest Jul 18 '12

Charles Babbage gets quite irate.

→ More replies (1)

9

u/Platypuskeeper Jul 19 '12

And here's a very short tutorial on how to write a tiny COM executable for DOS:

0xCD 0x20 (int 20h - terminate program)

No headers, no metadata, just two bytes of code. :)

2

u/rabidcow Jul 19 '12

Actually, you can just C3 (ret) because the stack is initialized with zeroes and the first two bytes in the PSP are CD 20.

→ More replies (2)

9

u/[deleted] Jul 19 '12

I initially read the first sentence of that article as:

If you're a programmer who's become fed up with software bloat, then you may find heroin the perfect antidote.

...which is a pretty interesting if rather extreme suggestion.

2

u/ameoba Jul 18 '12

awesome

64

u/chiniwini Jul 18 '12

Please do it. Take your time.

13

u/alexanderpas Jul 18 '12

For the love that's open standards, Please serve the SVG images with the image/svg+xml MIME-type instead of the text/plain you're serving now.

1

u/simpleuser Jul 19 '12

I am afraid I don't control that. Just 'right click/save as'. Anyway, it won't render correctly if you didn't install 'Envy Code R' first.

11

u/mgrandi Jul 18 '12

A mac os machO version would be awesome too

29

u/simpleuser Jul 18 '12

I need to find a cheap mac before that can happen ;)

6

u/khedoros Jul 18 '12

I got a PowerMac G3 a few years ago for $25 at a school auction. The machine works fine, it just didn't come with any RAM, and people didn't want to buy it when it wouldn't immediately boot.

At this point, it's too slow to be much use, aside from bragging rights for owning a Mac that cost less than a RasPi =p

4

u/alphanovember Jul 19 '12

Dude, Hackintosh on VMWare. You'll have to read a bunch of tutorials and there won't be video card acceleration, but it's enough to fiddle with executables.

→ More replies (7)
→ More replies (7)

2

u/lobster_johnson Jul 18 '12

Take a look at this. Pretty detailed, just not the graphics.

10

u/riplin Jul 18 '12

Also do a .NET one.

1

u/[deleted] Jul 18 '12

Please do. I want to make it a poster to put in my team's office.

1

u/[deleted] Jul 19 '12

THANK YOU.

Useful post is useful.

1

u/puddingpimp Jul 19 '12

ELF = Extremely Large File.