Back to News
Advertisement
Advertisement

⚡ Community Insights

Discussion Sentiment

100% Positive

Analyzed from 125 words in the discussion.

Trending Topics

#more#done#tricks#lot#windows#possible#today#delayed#perhaps#starting

Discussion (4 Comments)Read Original on HackerNews

WalterGR1 minute ago
[delayed]
mrlonglong6 minutes ago
i386 are perhaps starting to die out. Has anything like this been done for amd64? Can we play such tricks with arm and aarch64?
BruceEelabout 1 hour ago
This is actually a lot of fun. Never did it on Linux, but Windows PE EXE files make similar tricks possible. Windows 95 in particular was very permissive. Using a (very primitive, by today's standards) hex editor I tried making the ".text" section begin halfway through the header and bang! ..it worked, a revelation of sorts. I imagine today's loaders may be a bit more strict because of security but I guess you can always make your own loader :)
davidwritesbugsabout 1 hour ago
I wonder how much of this could be done by a clever linker? There’s a lot of skill in there but how would an llm do, for the rest of us?
Panzerschrekabout 1 hour ago
The program described in this article is as simple as possible. What about something more complex, like basic "hello world"? It requires at least one more syscall and several bytes more data.