{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,18]],"date-time":"2026-08-18T01:46:58Z","timestamp":1787017618220,"version":"build-2736575974"},"reference-count":62,"publisher":"Association for Computing Machinery (ACM)","issue":"OOPSLA2","license":[{"start":{"date-parts":[[2025,10,9]],"date-time":"2025-10-09T00:00:00Z","timestamp":1759968000000},"content-version":"vor","delay-in-days":0,"URL":"http:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"DOI":"10.13039\/100000001","name":"NSF","doi-asserted-by":"publisher","award":["2148301"],"award-info":[{"award-number":["2148301"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2025,10,9]]},"abstract":"<jats:p>\n                    Debugging and monitoring programs are integral to engineering and deploying software. Dynamic analyses monitor applications through source code or IR injection, machine code or bytecode rewriting, virtual machine APIs, or direct hardware support. While these techniques are viable within their respective domains, common tooling across techniques is rare, leading to fragmentation of skills, duplicated efforts, and inconsistent feature support. We address this problem in the WebAssembly ecosystem with Whamm, an instrumentation framework for Wasm that uses engine-level probing and has a bytecode rewriting fallback to promote portability. Whamm solves three problems: 1) tooling fragmentation, 2) prohibitive instrumentation overhead of general-purpose frameworks, and 3) tedium of tailoring low-level high-performance mechanisms. Whamm provides fully- programmable instrumentation with declarative match rules, static and dynamic predication, automatic state reporting, and user library support, achieving high performance through compiler and engine optimizations. The Whamm engine API allows instrumentation to be provided to a Wasm engine as Wasm code, reusing existing engine optimizations and unlocking new ones, most notably\n                    <jats:italic toggle=\"yes\">intrinsification,<\/jats:italic>\n                    to minimize overhead. A key insight of our work is that explicitly requesting program state in match rules, rather than reflection, enables the engine to efficiently bundle arguments and even\n                    <jats:italic toggle=\"yes\">inline<\/jats:italic>\n                    compiled probe logic. Whamm streamlines the tooling effort, as its bytecode-rewriting target can run instrumented programs everywhere, lowering fragmentation and advancing the state of the art for engine support. We evaluate Whamm with case studies of non-trivial monitors and show it is expressive, powerful, and efficient.\n                  <\/jats:p>","DOI":"10.1145\/3763124","type":"journal-article","created":{"date-parts":[[2025,10,9]],"date-time":"2025-10-09T08:49:50Z","timestamp":1759999790000},"page":"2058-2086","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":2,"title":["Debugging WebAssembly? Put Some Whamm on It!"],"prefix":"10.1145","volume":"9","author":[{"ORCID":"https:\/\/orcid.org\/0009-0005-7242-6179","authenticated-orcid":false,"given":"Elizabeth","family":"Gilbert","sequence":"first","affiliation":[{"name":"Carnegie Mellon University, Pittsburgh, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0009-4266-7210","authenticated-orcid":false,"given":"Matthew","family":"Schneider","sequence":"additional","affiliation":[{"name":"Carnegie Mellon University, Pittsburgh, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0004-2557-6230","authenticated-orcid":false,"given":"Zixi","family":"An","sequence":"additional","affiliation":[{"name":"Carnegie Mellon University, Pittsburgh, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0003-5631-2767","authenticated-orcid":false,"given":"Suhas","family":"Thalanki","sequence":"additional","affiliation":[{"name":"Carnegie Mellon University, Pittsburgh, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0000-9228-591X","authenticated-orcid":false,"given":"Wavid","family":"Bowman","sequence":"additional","affiliation":[{"name":"University of Florida, Gainesville, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0009-7458-7864","authenticated-orcid":false,"given":"Alexander Y.","family":"Bai","sequence":"additional","affiliation":[{"name":"New York University, New York, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9690-2089","authenticated-orcid":false,"given":"Ben L.","family":"Titzer","sequence":"additional","affiliation":[{"name":"Carnegie Mellon University, Pittsburgh, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2059-5406","authenticated-orcid":false,"given":"Heather","family":"Miller","sequence":"additional","affiliation":[{"name":"Carnegie Mellon University, Pittsburgh, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,10,9]]},"reference":[{"key":"e_1_3_2_2_2","unstructured":"2020. The edge of the multi-cloud.https:\/\/www.fastly.com\/cassets\/6pk8mg3yh2ee\/79dsHLTEfYIMgUwVVllaa4\/5e5330572b8f317f72el6696256d8138\/WhitePaper-Multi-Cloud.pdf. https:\/\/www.fastly.com\/cassets\/6pk8mg3yh2ee\/79dsHLTEfYIMgUwVVllaa4\/5e5330572b8f317f72el6696256d8138\/WhitePaper-Multi-Cloud.pdf (Accessed 2021-07-06)"},{"key":"e_1_3_2_3_2","unstructured":"2021. Java Virtual Machine Tools Interface. https:\/\/docs.oracle.com\/javase\/8\/docs\/technotes\/guides\/jvmti\/ https:\/\/docs.oracle.com\/javase\/8\/docs\/technotes\/guides\/jvmti\/ (Accessed 2021-07-29)"},{"key":"e_1_3_2_4_2","unstructured":"2021. WebAssembly Multi-memory proposal. https:\/\/github.com\/WebAssembly\/multi-memory https:\/\/github.com\/WebAssembly\/multi-memory (Accessed 2025-07-28)"},{"key":"e_1_3_2_5_2","unstructured":"2023. Walrus: A WebAssembly transformation library. https:\/\/github.com\/rustwasm\/walrus https:\/\/github.com\/rustwasm\/walrus"},{"key":"e_1_3_2_6_2","unstructured":".NET Wiki Authors. 2021. The .NET Profiling API. https:\/\/learn.microsoft.com\/en-us\/dotnet\/framework\/unmanaged-api\/profiling\/profiling-overview https:\/\/learn.microsoft.com\/en-us\/dotnet\/framework\/unmanaged-api\/profiling\/profiling-overview (Accessed 2023-8-4)"},{"key":"e_1_3_2_7_2","doi-asserted-by":"publisher","DOI":"10.1145\/3591473"},{"key":"e_1_3_2_8_2","unstructured":"Fabrice Bellard. 2020. QEMU: A generic and open source machine emulator and virtualizer. http:\/\/qemu.org (Accessed 2023-8-07)"},{"key":"e_1_3_2_9_2","doi-asserted-by":"publisher","DOI":"10.1145\/2024569.2024572"},{"key":"e_1_3_2_10_2","doi-asserted-by":"publisher","DOI":"10.1145\/1294325.1294344"},{"key":"e_1_3_2_11_2","unstructured":"Andrew Black St\u00e9phane Ducasse Oscar Nierstrasz Damien Pollet Damien Cassou and Marcus Denker. 2009. Pharo by Example.(01 2009). http:\/\/PharoByExample.org\/"},{"key":"e_1_3_2_12_2","doi-asserted-by":"publisher","DOI":"10.1145\/976270.976282"},{"key":"e_1_3_2_13_2","doi-asserted-by":"publisher","DOI":"10.1109\/CGO.2003.1191551"},{"key":"e_1_3_2_14_2","doi-asserted-by":"crossref","unstructured":"Hugo Bruneliere Jordi Cabot Cau\u00ea Clasen Fr\u00e9d\u00e9ric Jouault and Jean B\u00e9zivin. 2010. Towards Model Driven Tool Interoperability: Bridging Eclipse and Microsoft Modeling Tools. In Proceedings of the 6th European Conference on Modelling Foundations and Applications (ECMFA 2010).https:\/\/doi.org\/10.1007\/978-3-642-13595-8_5","DOI":"10.1007\/978-3-642-13595-8_5"},{"issue":"19","key":"e_1_3_2_15_2","article-title":"ASM: a code manipulation tool to implement adaptable systems","volume":"30","author":"Bruneton Eric","year":"2002","unstructured":"Eric Bruneton, Romain Lenglet, and Thierry Coupaye. 2002. ASM: a code manipulation tool to implement adaptable systems. Adaptable and extensible component systems 30, 19","journal-title":"Adaptable and extensible component systems"},{"key":"e_1_3_2_16_2","doi-asserted-by":"publisher","DOI":"10.1145\/3679007.3685058"},{"key":"e_1_3_2_17_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-44245-2_8"},{"key":"e_1_3_2_18_2","doi-asserted-by":"publisher","DOI":"10.1145\/2908080.2908084"},{"key":"e_1_3_2_19_2","doi-asserted-by":"publisher","DOI":"10.1145\/2088883.2088902"},{"key":"e_1_3_2_20_2","doi-asserted-by":"crossref","unstructured":"Elizabeth Gilbert Matthew Schneider Zixi An Suhas Thalanki Wavid Bowman Alexander Y. Bai Ben Titzer and Heather Miller. 2025. Debugging WebAssembly? Put some Whamm on it!. https:\/\/doi.org\/10.5281\/zenodo.16929456\/","DOI":"10.1145\/3763124"},{"key":"e_1_3_2_21_2","doi-asserted-by":"crossref","unstructured":"Elizabeth Gilbert Matthew Schneider Zixi An Suhas Thalanki Wavid Bowman Alexander Y. Bai Ben Titzer and Heather Miller. 2025. Debugging WebAssembly? Put some Whamm on it! (supplementary material). https:\/\/doi.org\/10.1145\/3763124","DOI":"10.1145\/3763124"},{"key":"e_1_3_2_22_2","volume-title":"DTrace: Dynamic Tracing in Oracle Solaris, Mac OS X and FreeBSD","author":"Gregg Brendan","year":"2011","unstructured":"Brendan Gregg and Jim Mauro. 2011. DTrace: Dynamic Tracing in Oracle Solaris, Mac OS X and FreeBSD (1st ed.). Prentice Hall Press, USA"},{"key":"e_1_3_2_23_2","doi-asserted-by":"publisher","DOI":"10.1145\/3062341.3062363"},{"key":"e_1_3_2_24_2","doi-asserted-by":"publisher","DOI":"10.1145\/2668930.2688038"},{"key":"e_1_3_2_25_2","doi-asserted-by":"publisher","DOI":"10.5555\/646158.680006"},{"key":"e_1_3_2_26_2","doi-asserted-by":"publisher","DOI":"10.1007\/BFb0053381"},{"key":"e_1_3_2_27_2","doi-asserted-by":"publisher","DOI":"10.5555\/574212"},{"key":"e_1_3_2_28_2","doi-asserted-by":"publisher","DOI":"10.1145\/207110.207163"},{"key":"e_1_3_2_29_2","doi-asserted-by":"publisher","DOI":"10.1145\/3297858.3304068"},{"key":"e_1_3_2_30_2","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-63697-8_94"},{"key":"e_1_3_2_31_2","doi-asserted-by":"publisher","DOI":"10.1145\/1064978.1065034"},{"key":"e_1_3_2_32_2","doi-asserted-by":"publisher","DOI":"10.1145\/38807.38821"},{"key":"e_1_3_2_33_2","doi-asserted-by":"publisher","DOI":"10.1145\/2162049.2162077"},{"key":"e_1_3_2_34_2","doi-asserted-by":"publisher","DOI":"10.1109\/2.471178"},{"key":"e_1_3_2_35_2","doi-asserted-by":"publisher","DOI":"10.1145\/1960275.1960292"},{"key":"e_1_3_2_36_2","doi-asserted-by":"publisher","DOI":"10.1145\/3464432.3464780"},{"key":"e_1_3_2_37_2","doi-asserted-by":"publisher","DOI":"10.1145\/1809028.1806618"},{"key":"e_1_3_2_38_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-20891-1_18"},{"key":"e_1_3_2_39_2","doi-asserted-by":"publisher","DOI":"10.1145\/1273442.1250746"},{"key":"e_1_3_2_40_2","doi-asserted-by":"publisher","DOI":"10.1145\/3242947.3242948"},{"key":"e_1_3_2_41_2","volume-title":"Bytecode-Level Analysis and Optimization of Java Classes","author":"Nystrom Nathaniel John","year":"1998","unstructured":"Nathaniel John Nystrom. 1998. Bytecode-Level Analysis and Optimization of Java Classes. Master\u2019s thesis. Purdue University"},{"key":"e_1_3_2_42_2","unstructured":"Louis-No\u0451l Pouchet. 2016. PolyBench. https:\/\/sourceforge.net\/projects\/polybench\/"},{"key":"e_1_3_2_43_2","doi-asserted-by":"publisher","DOI":"10.1145\/3578245.3584851"},{"key":"e_1_3_2_44_2","doi-asserted-by":"crossref","unstructured":"Jo\u00e3o Rodrigues and Jorge Barreiros. 2022. Aspect-Oriented WebAssembly Transformation. In 2022 17th Iberian Conference on Information Systems and Technologies (CISTI). 1\u20136. https:\/\/doi.org\/10.23919\/CISTI54924.2022.9820136","DOI":"10.23919\/CISTI54924.2022.9820136"},{"key":"e_1_3_2_45_2","doi-asserted-by":"publisher","DOI":"10.5555\/1267658.1267659"},{"key":"e_1_3_2_46_2","doi-asserted-by":"publisher","DOI":"10.1145\/1952682.1952711"},{"key":"e_1_3_2_47_2","doi-asserted-by":"publisher","DOI":"10.1145\/2617548.2617550"},{"key":"e_1_3_2_48_2","doi-asserted-by":"publisher","DOI":"10.1145\/2491411.2491447"},{"key":"e_1_3_2_49_2","first-page":"323","volume-title":"Runtime Verification: 20th International Conference, RV 2020, Los Angeles, CA, USA, October 6-9, 2020, Proceedings 20","author":"Soueidi Chukri","year":"2020","unstructured":"Chukri Soueidi, Ali Kassem, and Yli\u00e8s Falcone. 2020. BISM: bytecode-level instrumentation for software monitoring. In Runtime Verification: 20th International Conference, RV 2020, Los Angeles, CA, USA, October 6-9, 2020, Proceedings 20. Springer, 323\u2013335"},{"key":"e_1_3_2_50_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10009-023-00708-z"},{"key":"e_1_3_2_51_2","doi-asserted-by":"publisher","DOI":"10.1145\/178243.178260"},{"key":"e_1_3_2_52_2","unstructured":"Ben L. Titzer. 2021. Wizard An advanced WebAssembly Engine for Research. https:\/\/github.com\/titzer\/wizard-engine https:\/\/github.com\/titzer\/wizard-engine (Accessed 2021-07-29)"},{"key":"e_1_3_2_53_2","volume-title":"Whose Baseline Compiler is it Anyway? (CGO\u201924)","author":"Titzer Ben L.","year":"2024","unstructured":"Ben L. Titzer. 2024. Whose Baseline Compiler is it Anyway? (CGO\u201924). Association for Computing Machinery, New York, NY, USA"},{"key":"e_1_3_2_54_2","doi-asserted-by":"publisher","DOI":"10.1145\/3620666.3651338"},{"key":"e_1_3_2_55_2","doi-asserted-by":"publisher","DOI":"10.2197\/ipsjjip.23.716"},{"key":"e_1_3_2_56_2","doi-asserted-by":"publisher","DOI":"10.1145\/1925805.1925818"},{"key":"e_1_3_2_57_2","doi-asserted-by":"publisher","DOI":"10.22152\/programming-journal.org\/2018\/2\/14"},{"key":"e_1_3_2_58_2","unstructured":"Kenton Varda. [n. d.]. WebAssembly on Cloudflare Workers. https:\/\/blog.cloudflare.com\/webassembly-on-cloudflare-workers\/https:\/\/blog.cloudflare.com\/webassembly-on-cloudflare-workers\/ (Accessed 2021-07-06)"},{"key":"e_1_3_2_59_2","doi-asserted-by":"publisher","DOI":"10.1145\/3519939.3523428"},{"key":"e_1_3_2_60_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-98989-1_7"},{"issue":"3","key":"e_1_3_2_61_2","first-page":"37","article-title":"From Hack to Elaborate Technique - A Survey on Binary Rewriting","volume":"52","author":"Wenzl Matthias","year":"2019","unstructured":"Matthias Wenzl, Georg Merzdovnik, Johanna Ullrich, and Edgar Weippl. 2019. From Hack to Elaborate Technique - A Survey on Binary Rewriting. ACM Comput. Surv. 52, 3, Article 49(jun 2019), 37 pages. https:\/\/doi.org\/10.1145\/3316415","journal-title":"ACM Comput. Surv."},{"key":"e_1_3_2_62_2","doi-asserted-by":"publisher","DOI":"10.1145\/2509578.2509581"},{"key":"e_1_3_2_63_2","doi-asserted-by":"publisher","DOI":"10.1145\/2814270.2814281"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3763124","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3763124","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,7,16]],"date-time":"2026-07-16T10:10:24Z","timestamp":1784196624000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3763124"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,10,9]]},"references-count":62,"journal-issue":{"issue":"OOPSLA2","published-print":{"date-parts":[[2025,10,9]]}},"alternative-id":["10.1145\/3763124"],"URL":"https:\/\/doi.org\/10.1145\/3763124","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,10,9]]},"assertion":[{"value":"2025-03-25","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-08-12","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-10-09","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}