TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Tiny PE (2008)

30 pointsby epsylonabout 10 years ago

6 comments

cremnoabout 10 years ago
I recommend checking out Corkami&#x27;s articles&#x2F;posters:<p><a href="https://code.google.com/p/corkami/wiki/PE" rel="nofollow">https:&#x2F;&#x2F;code.google.com&#x2F;p&#x2F;corkami&#x2F;wiki&#x2F;PE</a><p><a href="https://code.google.com/p/corkami/wiki/PE101" rel="nofollow">https:&#x2F;&#x2F;code.google.com&#x2F;p&#x2F;corkami&#x2F;wiki&#x2F;PE101</a><p><a href="https://code.google.com/p/corkami/wiki/PE102" rel="nofollow">https:&#x2F;&#x2F;code.google.com&#x2F;p&#x2F;corkami&#x2F;wiki&#x2F;PE102</a><p>It also has a section about the minimal size: <a href="https://code.google.com/p/corkami/wiki/PE#minimal_sizes" rel="nofollow">https:&#x2F;&#x2F;code.google.com&#x2F;p&#x2F;corkami&#x2F;wiki&#x2F;PE#minimal_sizes</a><p>Modern Windows versions refuse to run the 97 b and 133 b files from the linked article.
评论 #9103503 未加载
arocksabout 10 years ago
For those who don&#x27;t know, there are several executable formats where smaller programs can be written. For instance, a .COM executable (a legacy format now [2]) can be written in just 20 bytes [1].<p>In the case of the Portable Executable (PE) format, 97 bytes is certainly an impressive feat.<p>[1]: <a href="http://www.gnostice.com/nl_article.asp?id=225&amp;t=The_Smallest_Hello_World_Program_At_20_Bytes" rel="nofollow">http:&#x2F;&#x2F;www.gnostice.com&#x2F;nl_article.asp?id=225&amp;t=The_Smallest...</a><p>[2]: <a href="http://en.wikipedia.org/wiki/COM_file" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;COM_file</a>
评论 #9100263 未加载
smclabout 10 years ago
A quick google reveals the answer, but this article would benefit from &quot;A PE file is ...&quot; in its introduction. Maybe it&#x27;s expected that the target audience already knows this info however
评论 #9100237 未加载
breakingcupsabout 10 years ago
Importing a dll from a UNC path to load the file over WebDav is quite an amazing trick, many props to the author.
rjaco31about 10 years ago
Wow, what a great read. Nice work.
TazeTSchnitzelabout 10 years ago
WebDAV for retrieval is just HTTP GET right?
评论 #9103217 未加载