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 条
  • [21] OOAspectZ and aspect-oriented UML class diagrams for Aspect-oriented software modelling (AOSM)
    Vidal Silva, C.
    Saens, R.
    Del Rio, C.
    Villarroel, R.
    INGENIERIA E INVESTIGACION, 2013, 33 (03): : 66 - 71
  • [23] Aspect-Oriented Programming Reloaded
    Rebelo, Henrique
    Leavens, Gary T.
    PROCEEDINGS OF THE 21ST BRAZILIAN SYMPOSIUM ON PROGRAMMING LANGUAGES (SBLP 2017), 2017,
  • [24] Aspect-Oriented Instrumentation with GCC
    Seyster, Justin
    Dixit, Ketan
    Huang, Xiaowan
    Grosu, Radu
    Havelund, Klaus
    Smolka, Scott A.
    Stoller, Scott D.
    Zadok, Erez
    RUNTIME VERIFICATION, 2010, 6418 : 405 - +
  • [25] Superimpositions and aspect-oriented programming
    Katz, S. (katz@cs.technion.ac.il), 1600, Oxford University Press (46):
  • [26] Aspect-oriented programming with AspectJ
    Colyer, A
    Clement, A
    IBM SYSTEMS JOURNAL, 2005, 44 (02) : 301 - 308
  • [27] ASPECT-ORIENTED CODE OBFUSCATION
    Padayachee, Keshnee
    PROCEEDINGS OF THE 2009 INTERNATIONAL CONFERENCE ON SOFTWARE TECHNOLOGY AND ENGINEERING, 2009, : 252 - 257
  • [28] Aspect-Oriented Attribute Grammars
    Mernik, M.
    Rebernak, D.
    ELEKTRONIKA IR ELEKTROTECHNIKA, 2011, (10) : 99 - 104
  • [29] Superimpositions and aspect-oriented programming
    Sihman, M
    Katz, S
    COMPUTER JOURNAL, 2003, 46 (05): : 529 - 541
  • [30] ASPECT-ORIENTED LINEARIZABILITY PROOFS
    Chakraborty, Soham
    Henzinger, Thomas A.
    Sezgin, Ali
    Vafeiadis, Viktor
    LOGICAL METHODS IN COMPUTER SCIENCE, 2015, 11 (01)