Towards modular instrumentation of interpreters in JavaScript
Florent Marchand de Kerchove, Jacques Noyé, Mario Südholt · 2015
With an initial motivation based on the security of web applications written in JavaScript, we consider the instrumentation of an interpreter for a dynamic analysis as a crosscutting concern. We define the instrumentation problem — an extension to the expression problem with a focus on modifying interpreters. We then illustrate how we can instrument an interpreter for a simple language using only the bare language features provided by JavaScript.