Aspect-Oriented Webassembly Transformation

被引:0
|
作者
Rodrigues, Joao [1 ]
Barreiros, Jorge [1 ]
机构
[1] Coimbra Polytech ISEC, Coimbra, Portugal
关键词
WebAssembly; !text type='Java']Java[!/text]Script; Aspects; Web Applications; Transformation; Instrumentation;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
There are scenarios where it can be useful or necessary to directly transform and instrument compiled code, rather than resorting to source code changes with subsequent compilation. These transformations can be motivated by several reasons, such as: immediate repair of problems encountered in production, neutralization of potentially malicious code, performance improvements, instrumentation for profiling and inspection purposes, fault injection, or unavailability of source code. While tools are available for conducting this kind of transformations for many different software ecosystems and languages, there is a limited set of options for doing so for WebAssembly applications. In this paper, we present a novel tool and language, the WasmManipulator/WmrLang, for manipulating WebAssembly code, which allows you to perform code transformations, using an aspect-oriented approach for specifying code locations, and code insertion, replacement, or deletion to be executed at those locations. In addition, because WebAssembly routines can be heavily interdependent on the JavaScript code that uses them, the tool has certain features that allow you to take advantage of and exploit this dependency. This includes defining additional types in WASM code, and interpreting/executing expressions at runtime.
引用
收藏
页数:6
相关论文
共 50 条
  • [1] Program transformation with reflection and aspect-oriented programming
    Chiba, Shigeru
    [J]. GENERATIVE AND TRANSFORMATIONAL TECHNIQUES IN SOFTWARE ENGINEERING, 2006, 4143 : 65 - 94
  • [2] Aspect-Oriented Design Automation with Model Transformation
    Han, Zhao
    Wang, Deyan
    Rutsch, Gabriel
    Li, Bowen
    Prebeck, Sebastian Siegfried
    Lopera, Daniela Sanchez
    Devarajegowda, Keerthikumara
    Ecker, Wolfgang
    [J]. PROCEEDINGS OF THE 2021 IFIP/IEEE INTERNATIONAL CONFERENCE ON VERY LARGE SCALE INTEGRATION (VLSI-SOC), 2021, : 48 - 53
  • [3] Aspect-Oriented Coordination
    Fuentes, Lidia
    Sanchez, Pablo
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2007, 189 : 87 - 103
  • [4] Aspect-oriented compilers
    de Moor, O
    Peyton-Jones, S
    Van Wyk, E
    [J]. GENERATIVE AND COMPONENT-BASED SOFTWARE ENGINEERING, PROCEEDINGS, 2000, 1799 : 121 - 133
  • [5] Aspect-oriented metamodelling
    Clark, T
    Evans, A
    Kent, S
    [J]. COMPUTER JOURNAL, 2003, 46 (05): : 566 - 577
  • [6] Aspect-oriented programming
    Lopes, CV
    Kiczales, G
    [J]. TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES AND SYSTEMS - TOOLS 34, PROCEEDINGS, 2000, : 461 - 461
  • [7] Aspect-oriented programming
    Bergmans, L
    Lopes, CV
    [J]. OBJECT-ORIENTED TECHNOLOGY, 1999, 1743 : 288 - 313
  • [8] Aspect-oriented programming
    Kiczales, G
    [J]. ICSE 05: 27th International Conference on Software Engineering, Proceedings, 2005, : 730 - 730
  • [9] Aspect-oriented programming
    Lopes, CV
    Kiczales, G
    [J]. TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES - TOOLS 33, PROCEEDINGS, 2000, : 468 - 468
  • [10] Aspect-oriented programming
    Kiczales, G
    Lamping, J
    Mendhekar, A
    Maeda, C
    Lopes, C
    Loingtier, JM
    Irwin, J
    [J]. ECOOP'97: OBJECT-ORIENTED PROGRAMMING, 1997, 1241 : 220 - 242