u/attoPascalin r/compsci • Recommends
#x86#printableshellcode#sigbovik
Compiling C to printable x86, to make an executable research paper
202K subscribers • 15 videos on Hallway
- Recommended by 10 people: 8 on Hacker News, 1 on Lobsters and 1 in engineering communities.
- A classic. People kept recommending it from 2017 to 2023.
- Presented by Tom Murphy VII
Advanced. Deep dive for people who know the field.
479K views9 years ago10 recommendations
Systems programmingSecurityCompilers and interpretersExploits and vulnerabilitiesReverse engineering
Tom7 explains how he wrote a C compiler that outputs only printable ASCII bytes to create a valid DOS executable research paper.
In this oddly paced "educational" video, I explain how I created a paper for SIGBOVIK 2017 that consists of only printable ASCII bytes, but is also a valid DOS executable. This involves making a C compiler that targets the printable subset of x86 (without using self-modifying code), and just barely scraping out solutions to some tricky puzzles that arise due to the constraints. The final result is functionality that is oh so very important, however! Download the paper/program and source code: tom7.org/abc/ SIGBOVIK: sigbovik.org/ All Tom thingies: tom7.org/Why it's here
10 people recommend thisWhat people say. Widely celebrated as a masterpiece of creative systems engineering and compiler hacking.
brendanon Lobsters • Recommends
pronoiacon Hacker News • Recommends
On “Survival in chessland [pdf]”
badrequeston Hacker News • Recommends
On “NaN Gates and Flip FLOPS”
nextaccounticon Hacker News • Recommends
On “C89 compiler produces printable executables from C code [pdf]”
omgmajkon Hacker News • Recommends
On “The GlEnd() of Zelda: Automatic 3Dification of NES Games (2016)”
anitilon Hacker News • Recommends
On “Lipogram”
SAI_Peregrinuson Hacker News • Recommends
On “Undocumented x86 instructions to control the CPU at the microarchitecture level [pdf]”
x86x87on Hacker News • Recommends
On “Ask HN: What are some of the most interesting YouTube channels to follow?”
nick-of-timeon Hacker News • Recommends
On “GradIEEEnt half decent: The hidden power of imprecise lines [video]”
floatbothon Hacker News • Mentions
On “Ask HN: What’s your favorite talk from 2017?”
asalahlion Hacker News • Mentions
On “ABC: A C compiler for printable x86”
colejohnson66on Hacker News • Mentions
On “Undocumented 8086 instructions, explained by the microcode”