Java bytecode instrumentation made easy: The disl framework for dynamic program analysis. Many software development tools (e.g., profilers, debuggers, testing tools) and frameworks (e.g., aspect weavers) are based on bytecode instrumentation techniques. While there are many low-level bytecode manipulation libraries that support the development of such tools and frameworks, they typically provide only low-level abstractions and require detailed knowledge of the Java Virtual Machine. In addition, they often lack the necessary infrastructure for load-time instrumentation with complete bytecode coverage to ensure that each method with a bytecode representation gets instrumented. In this paper we give an introduction to DiSL, a domain-specific aspect language and framework for bytecode instrumentation that reconciles high expressiveness of the language, high level of abstraction, and efficiency of the generated code. We illustrate the strengths of DiSL with a concrete analysis as a case study. The DiSL framework is open-source and has been successfully used in several research projects.
Keywords for this software
References in zbMATH (referenced in 3 articles )
Showing results 1 to 3 of 3.
- Rosà, Andrea; Chen, Lydia Y.; Binder, Walter: Akkaprof: a profiler for Akka actors in parallel and distributed applications (2016)
- Marek, Lukáš; Zheng, Yudi; Ansaloni, Danilo; Sarimbekov, Aibek; Binder, Walter; Tůma, Petr; Qi, Zhengwei: Java bytecode instrumentation made easy: The disl framework for dynamic program analysis (2012) ioport
- Zheng, Yudi; Ansaloni, Danilo; Marek, Lukas; Sewe, Andreas; Binder, Walter; Villazón, Alex; Tuma, Petr; Qi, Zhengwei; Mezini, Mira: Turbo disl: partial evaluation for high-level bytecode instrumentation (2012) ioport