A few days ago on March 6 I participated in the Binary T00ls Summit online event (https://binary-tools.net/) organised by José Marchesi (https://jemarch.net); a video recording is now available.
My presentation had the ridiculous title GNU Jitter and the illusion of simplicity or Copying, patching and combining compiler-generated code in executable memory or The Anarchist’s guide to GCC or The fun of playing with fire — or, in shortened form, GNU Jitter and GCC: the fun of playing with fire.
This is the official abstract:
GNU Jitter is a generator of portable and efficient language virtual machines; a Jittery VM lies at the heart of GNU poke. Jitter achieves high performance by first machine-generating C code, then compiling the generated code ahead-of-time with GCC, and finally copying, patching and recombining pieces of native code at run time into executable memory. GCC was definitely not designed for this task.
In this talk about the inner workings of Jitter I will show how to coerce the compiler into generating code suitable for run-time replication and how to maintain correctness, without the user noticing, when GCC optimisations play against us. In a task where many have failed before I believe I can now show a recipe for success.
I published a copy of the video recording on the Internet Archive: see https://archive.org/details/gnu-jitter-and-gcc-the-fun-of-playing-with-fire--bts-2022--saiu--2022-03-06. You can find a slightly updated copy of my PDF slides on my web site at http://ageinghacker.net/talks/jitter-slides--saiu--bts-2022--2022-03-06.pdf.
I wish to thank José, who gracefully took care of editing all video recordings including mine, and the other participants for their interest.
The Binary T00ls Summit 2022 was a pleasant and interesting event.
— Luca Saiu, 2022-03-10 21:32
Copyright © 2009, 2011-2014, 2017, 2018, 2021-2025 Luca Saiu
Verbatim copying and redistribution of this entire page are permitted
in any medium without royalties, provided this notice is preserved.
This page was generated by trivialblog.
trivialblog is
free software,
available under the
GNU GPL.
Tag icon copyright information is available
in this file.

Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.