Ιδρυματικό Αποθετήριο [SANDBOX]
Πολυτεχνείο Κρήτης
EN  |  EL

Αναζήτηση

Πλοήγηση

Ο Χώρος μου

Efficient module-level dynamic analysis for dynamic languages with module recontextualization

Vasilakis Nikos, Ntousakis Grigorios, Heller Veit, Rinard Martin C.

Απλή Εγγραφή


URIhttp://purl.tuc.gr/dl/dias/DC3BFC4B-97DD-4479-9D64-2433CB5F5D49-
Αναγνωριστικόhttps://doi.org/10.1145/3468264.3468574-
Αναγνωριστικόhttps://dl.acm.org/doi/10.1145/3468264.3468574-
Γλώσσαen-
Μέγεθος12 pagesen
ΤίτλοςEfficient module-level dynamic analysis for dynamic languages with module recontextualizationen
ΔημιουργόςVasilakis Nikosen
ΔημιουργόςNtousakis Grigoriosen
ΔημιουργόςΝτουσακης Γρηγοριοςel
ΔημιουργόςHeller Veiten
ΔημιουργόςRinard Martin C.en
ΕκδότηςAssociation for Computing Machinery (ACM)en
ΠερίληψηDynamic program analysis is a long-standing technique for obtaining information about program execution. We present module recontextualization, a new dynamic analysis approach that targets modern dynamic languages such as JavaScript and Racket, enabled by the fact that they feature a module-import mechanism that loads code at runtime as a string. This approach uses lightweight load-time code transformations that operate on the string representation of the module, as well as the context to which it is about to be bound, to insert developer-provided, analysis-specific code into the module before it is loaded. This code implements the dynamic analysis, enabling this approach to capture all interactions around the module in unmodified production language runtime environments. We implement this approach in two systems targeting the JavaScript and Racket ecosystems. Our evaluation shows that this approach can deliver order-of-magnitude performance improvements over state-of-the-art dynamic analysis systems while supporting a range of analyses, implemented on average in about 100 lines of code.en
ΤύποςΔημοσίευση σε Συνέδριοel
ΤύποςConference Publicationen
Άδεια Χρήσηςhttp://creativecommons.org/licenses/by/4.0/en
Ημερομηνία2023-06-23-
Ημερομηνία Δημοσίευσης2021-
Θεματική ΚατηγορίαRuntimeen
Θεματική ΚατηγορίαPerformanceen
Θεματική ΚατηγορίαRecontextualizationen
Θεματική ΚατηγορίαDynamicen
Θεματική ΚατηγορίαAnalysisen
Θεματική ΚατηγορίαSecurityen
Θεματική ΚατηγορίαInstrumentationen
Βιβλιογραφική ΑναφοράN. Vasilakis, G. Ntousakis, V. Heller and M. C. Rinard, “Efficient module-level dynamic analysis for dynamic languages with module recontextualization,” in Proceedings of the 29th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE 2021), Athens, Greece, 2021, pp. 1202–1213, doi: 10.1145/3468264.3468574.en

Διαθέσιμα αρχεία

Υπηρεσίες

Στατιστικά