Manuscript Offprint
arXiv:2610.38682Write Once, Instrument Anywhere: Portable, Sandboxed Tooling with WebAssembly Components
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Monitoring and debugging deployed software is crucial for scalability, performance, and robustness. Cross-cutting concerns are pervasive across software ecosystems, yet engineers must address them with a fragmented toolbox. While high-level frameworks exist to offer application-level types and semantics, they often lock a solution into specific languages, runtimes, or hardware architectures. Portability often forces engineers to choose lower-level instrumentation mechanisms. For example, in-language frameworks can trace a request across processes, but multi-language contexts require instrumentation at the boundary, for example using eBPF. While these frameworks provide powerful capabilities, they often result in 1) a tradeoff between application-level types or low-level bytes and packets, 2) non-composable domain-specific tools, 3) feature fragmentation across frameworks, and 4) tools that often run with unrestricted access to the program and its environment.
We address these problems with Splicer, a WebAssembly component interposition framework that 1) provides semantically rich application-level types, 2) enables pluggable tooling with powerful capabilities, 3) reduces ecosystem fragmentation through porting across languages and hardware, and 4) confines each tool to a sandbox with explicitly granted permissions. We evaluate Splicer on a suite of benchmarks demonstrating the pluggability of non-trivial tooling written in multiple source languages and their performance.
1 Introduction
Applications deployed in production often require cross-cutting monitoring and debugging, which is crucial for scalability, performance, and robustness. As these fundamental needs are pervasive across software domains, many observability frameworks have arisen. Common use cases are telemetry collection, security policy enforcement, payload enrichment, and optimization techniques. To span a diverse set of use cases, we use the term tool to refer to an implementation of a cross-cutting concern for a software system, similar to an aspect in aspect-oriented programming [27]. Example tools are security policy enforcement, payload enhancement, profiling, tracing, and telemetry.
Systems like the OS kernel and profilers can provide observability without inserting instrumentation into target programs, but are often limited to binary data, network packets, and low-level events like page faults and system calls [2, 22, 32, 37, 39, 51]. To access higher-level information, instrumentation is inserted into programs at the source, byte-code/IR, or binary level [6, 27, 30, 34, 41]. However, these approaches invasively inject code into programs, potentially altering their behavior inadvertently and are constrained to their specific language, runtime, and/or hardware. On the other hand, VMs and emulators can keep programs and instrumentation separate, often imposing high overhead [4, 44], which optimizations can reduce [6, 34, 56].
This landscape poses a stark tradeoff for tools: application-level semantics or non-invasive portability at the perimeter, but not both. Our work offers a new, superior resolution of this tradeoff at a boundary that itself carries the application-level types. Interposing at such a boundary is semantically rich, non-invasive, and ports across languages.
In this paper we present Splicer, a framework that provides non-invasive, language-portable, and semantically rich interposition. Splicer supplies the missing instrumentation framework for the WebAssembly Component Model, a standard that makes rich, application-level types observable component boundaries. Leveraging this rich information provided by Wasm components, Splicer enables heterogeneous tooling (Table 2) with high performance (Figure 8). We conduct a qualitative comparison with related frameworks in Table 4 showing that Splicer is the only framework with language portability, application-level typing semantics, and high-granularity without extra supporting infrastructure like agent processes. To empirically evaluate the overhead of Splicer in both runtime and code size, we conduct a series of experiments that show it imposes acceptable overhead on both microbenchmarks and real-world applications.

Figure 1. A high-level view of a Wasm component. Components can import and export interfaces, comprising its world. Type compatibility is shown here as complementary shapes.
embedded systems [28, 43, 64], cloud computing [12, 58], and edge computing [1, 59] due to its sandboxed execution environment, strict execution model, polyglot capability, near-native performance, and high portability.
When a program is compiled to Wasm, a core module is generated that contains the program's logic that can export functionality to external callers. Values that can cross this boundary are limited to core Wasm types such as i32, f32, etc. Recently, the W3C WebAssembly Community Group and the Bytecode Alliance have introduced the Component Model [60] as a module composition framework, described in depth in Section 2. While instrumentation frameworks [3, 9, 19, 47] have emerged for the core Wasm ecosystem, none to date support components.
In the Component Model, a core module is encapsulated by a Wasm component that exposes richly typed interfaces defined by the Wasm Interface Types (WIT) interface description language (IDL). This enables the exported functionality of a component to carry rich semantic meaning as the values flowing across component boundaries use WIT-level types (strings, lists, records, etc.). Through composing components with a Wasm Composition (WAC) script, components produced by different source language toolchains can interoperate safely in-process, shown in Figure 1. Creating such a composition from a set of Wasm components produces a single Wasm component binary containing the full set components with explicitly-defined communication topologies over their well-typed interfaces. So, while the composition executes as a single process, it does not need to be viewed as a monolithic unit. Static analysis can reconstruct its logical subunits with application-level typing semantics of their communication. These well-typed interfaces present a natural pointcut for interposition and is the approach used by Splicer to configure tooling placement.
1.2 Contributions
In this paper we outline the design of Splicer, a framework on which tools can be built once and applied portably across languages. Our contributions include:
- The first interposition framework for Wasm components. Prior work has only provided instrumentation for core Wasm modules, making use cases like security policy enforcement, payload enhancement, and proxying difficult, which typically require higher level information.
- A new approach for preserving semantically-rich types during interposition. Tools can be implemented with minimum data access and Splicer optimally places them using language-portable semantics.
- Increased pluggability with automatic tool adaptation. Tools can be written against a single contract and Splicer adapts them to any interface and renders payloads in a generic view.
- A suite of tooling demonstrating Splicer's expressiveness. We implement a set of common, non-trivial instrumentation tasks, shown in Table 2.
- A Wasm component port of the standard Death-StarBench Hotel Reservation benchmark. We ported this well-known benchmark to enable comparison between the native and componentized deployments.
- An empirical evaluation across microbenchmarks and a standard microservice benchmark. We show that the Component Model's safe in-process interoperability lets Splicer instrument communication with high throughput.
2 Background
The WebAssembly Component Model [60], offers a programming standard that facilitates safe interoperability through well-typed interfaces defined by the Wasm Interface Types (WIT) [61] Interface Description Language (IDL). An interface is a collection of functions and their corresponding type definitions. The term world refers to a collection of interfaces and types that a component depends on (imports) and/or provides (exports) at its outermost layer, shown in Figure 1.
2.1 Component Composition
A component is a static definition; instantiated it yields an instance with its own state. Compositions link instances together so they interoperate within a single process. The format of a composition is a directed graph of connected instances, creating a topology of their communication. A composition is produced by running a WebAssembly Compositions (WAC) [8] script that explicitly expresses how to link instances. For example: "Instance A's imported dependency is satisfied by instance B's complementary export." At runtime, when A calls this imported interface, it will invoke the interface from B wired through in the WAC script.
2.2 Communication Over WIT
A core Wasm module contains the actual program logic, while its encapsulating component defines its incoming and outgoing interfaces using WIT's [61] type system. The canonical ABI [62] translates between high-level WIT types (strings, lists, etc.) and low-level core Wasm types (i32, f32, etc). Components are shared-nothing; one component cannot access any other component's state, but must communicate via pass-by-copy semantics. A cross-component call lifts payloads from core-Wasm to WIT-level types, then lowers them across the component boundary. Lifting is not a runtime step, it is the semantic contract between caller and callee that the engine uses to validate the composition and generate lowering logic that performs the payload copy.
Table 1 shows some examples of polyglot communication mechanisms. While languages can interoperate in-process via dlopen, the C FFI, and core Wasm modules, doing so requires low-level typing and safely passing raw pointers to shared memory. Inter-process communication (IPC) enables isolated processes to interoperate through well-defined protocols, increasing safety. However, communication across processes or networks has high overhead and complex failure semantics. The Component Model facilitates safe, in-process, and performant language interoperability while retaining application-level types, as shown in Figure 2.
2.3 Component Failure Semantics
The Component Model has favorable failure semantics because sandboxing isolates faults and composition makes call completion explicit. WIT provides a result type to gracefully handle faults; however, unexpected faults still trap. On a trap, the shared-nothing property guarantees that a caller's memory cannot be corrupted. Composition avoids the partial-failure semantics of distributed communication. For example, RPC separates the request and response into two messages passed over a channel which can fail delivery. A client that sees no response cannot tell if the peer ran. In contrast, a cross-component call has no intervening channel, it happens synchronously, suspending the caller until the callee returns with a result error or it traps. Async calls relax this, resulting in the possibility of partial completion, requiring the caller to appropriately handle the failure modes of in-process concurrency. Such communication avoids reasoning about unreachable or independently failing peers possibly distributed across a network.
2.4 Resources
The Wasm Component Model offers the resource type to define objects. They are useful for defining capabilities such as database connections and file descriptors. Rather than copying entire object instances across component boundaries, resources are passed as opaque IDs, called handles. The component that implements a resource contains all instances of that resource and its methods. When a method is invoked on a resource, it performs a cross-component call to its implementing component which uses the handle to look up the instance and invoke the target method.
3 The Splicer Framework
Splicer is a framework that interposes Wasm components into arbitrary compositions, enabling language-portable tooling with application-level semantics. The framework is provided an interposition plan containing a list of rules that express where tools should be placed in a composition. To execute the plan, Splicer first discovers a component's composition, then applies the plan's rules to place tools within it. Finally, it uses WAC to emit the instrumented composition as a single component binary.
3.1 Discovering the Composition
Splicer discovers a composition graph directly from a component binary, without access to source code, a WAC script, or WIT definitions. Doing so requires careful handling of the component's internals. In Wasm's binary format, items are referenced by integer indices into an index space. A component has 13 such index spaces, all of which must be tracked for correct reference resolution. Components can also nest to arbitrary depth, each containing their own set of index spaces, and a nested component can reference items in any enclosing component's spaces. We capture this in a Visitor-pattern API with precise node resolution, made available in the open-source wirm Rust crate¹.
Instantiating a Wasm component requires satisfying its imports by providing complimentary instance exports. For example, in Figure 1, B's star-shaped import is satisfied by A's star-shaped export. Such dependencies are expressed in the bytecode format as arguments on instantiation blocks. Consequently, the discovery algorithm iterates over these blocks to identify instances, which become nodes, and uses block arguments to identify interface dependencies between instances, which become directed edges. Any dependencies not supplied as arguments must be satisfied by the host. To discover the type signature of an edge, type references are recursively resolved to their concrete type. The outermost component layer is also analyzed to identify its exports to discover its public surface. Our algorithm implementation has been factored into the open-source cviz² Rust crate.
3.2 The Interposition Plan
Users provide an interposition plan as a YAML file containing a list of rules that specify where to interpose tools. For large compositions, the interposition plan side-effects are cumbersome to track, so we leverage the cviz Rust crate to render a visual preview of the resulting composition. Interposed tools are shown as new, highlighted nodes with tags that point to the rule that configured them.
3.2.1 Where to Inject.
Splicer has expressive matching capabilities to find interposition points in a composition.
¹https://crates.io/crates/wirm ²https://crates.io/crates/cviz

Figure 2. Wasm programs can communicate over arbitrary protocols (left). A composition can instead do this safely, in-process (middle). This in-process communication is invisible at the program's perimeter (right), so instrumentation must be interposed.
| Isolation | On failure | Types | Cross-Language | Versioning | |
|---|---|---|---|---|---|
| dlopen | none | corrupts caller | structs, raw pointers | same ABI | fragile |
| C FFI | none | corrupts caller | bytes, raw pointers | any (C ABI) | fragile |
| Wasm Module | sandboxed | contained (trap) | i32/i64/f32/f64/etc | manual glue code | fragile |
| Wasm Component | sandboxed | contained (trap) | strings, records... | safe, typed | structural |
| IPC (pipe/socket) | separate process | partial failure | raw bytes, no framing | needs a codec | schema |
| RPC / gRPC | separate process | partial failure | messages, schema types | safe, typed | schema |
Table 1. A comparison of interoperability mechanisms. The Component Model alone is safe, in-process, and typed.
Graph nodes carry their instance names from the producing WAC script while edges carry the name of their WIT interface. Interface names have the following convention: "namespace:package/interface@server". Users can leverage wildcards to match against a set of node and edge names.
Edge/Interface "shapes" are exposed to constrain matches against function properties. We currently apply constraints across all functions in an interface edge, they must all meet the constraint to match. Properties include the following, but can be extended as new use-cases arise:
-
async: whether functions are async,
-
scope: where functions live; as interface-level free functions or as resource methods,
-
args and results: generic constraints on payload types.
Generic constraints enable tools to target type-compatible interfaces. For example, a tool that conditionally skips the downstream may only work when results are defaultable (like a string) and concrete (non-resource).
The before rule interposes on a node's incoming edge, while the between rule interposes on a connecting edge of two nodes. The on_node rule interposes on any edge of a specified node. It can be constrained on edge direction: inbound, outbound, or both. The on_subgraph rule treats a set of nodes as a single unit. For a group of nodes to qualify as a subgraph, every node must be reachable by every other node without following paths through nodes outside the set (the edges must be between nodes both inside the set). If the subgraph is found, it is treated as if it were a single node with its own incoming and outgoing edges. For example, with subgraph [b, c] and edge direction as "both," the graph
becomes after interposing tool T.
3.2.2 What to Inject. The list of tools to inject at match points is provided in runtime-execution order. Splicer provides configurable builtins to support common instrumentation tasks, see Table 2 for the full list.
3.3 Enabling Interface-Portable Tooling
Figure 3 shows how Splicer supports specialized, interface-compatible tooling and tooling that targets Splicer's generic interface, requiring adaptation. Splicer offers multiple adapter types, named tiers, which differ in data access privilege and control over the downstream, shown in Figure 4. In a landscape where an increasing percentage of new code is generated by AI, structural guardrails are essential to improve system safety and security. So, while every tier's capabilities are achievable by tier 3, we intentionally created a capability "ladder" to enable users to write tools with minimum access.
3.3.1 The Adapter Design. Due to design tradeoffs, users express tooling differently depending on the tier they target.
Tiers 1 and 2 are provided as WIT worlds, enabling tools to be implemented in any language that compiles to components, as Table 2 shows. Each tool lives in a sandboxed component, separate from the adapter, so it has no direct payload access. Splicer generates the adapter component's Wasm directly which contains a core module that invokes callbacks as cross-component calls. These tiers therefore add at least two extra cross-component calls: one into the adapter and one per implemented callback. Because tools ship as component binaries, users fully control any dependencies
| Name | Tier | LoC by Language | Description |
|---|---|---|---|
| hello-tier1 | 1 | Rust 32; Go 17 | Prints a greeting before/after each call. |
| otel-bare-logs | 1 | Rust 101; Go 128 | OTel log on each call's return. |
| otel-bare-spans | 1 | Rust 147; JS 106 | OpenTelemetry spans around calls. |
| otel-bare-metrics | 1 | Rust 190; JS 150 | OTel call-count + duration metrics. |
| hello-tier2 | 2 | Rust 48; Go 43 | Prints a greeting and args/results before/after each call. |
| recorder | 2 | Rust 137; Go 156 | Record every wrapped call's args + results. |
| otel-payload-metrics | 2 | Rust 482; JS 307 | Derive OTel metrics (size, shape, etc.) about call payloads. |
| hello-tier3 | 3 | Rust 30 | Prints a greeting before/after each call. |
| redact-strings | 3 | Rust 77 | Rewrite string content in payloads matching regexes. |
| memoize | 3 | Rust 135 | Return cached result on repeat calls, skipping the downstream. |
| hello-tier4 | 4 | Rust 30 | Prints a greeting before returning a default result. |
| chaos-err | 4 | Rust 31 | Returns a freshly-sampled Err for every wrapped call. |
| replayer | 4 | Rust 54 | Returns each wrapped call's result from a recorded trace. |
| fuzz-results | 4 | Rust 319 | Returns a random value for every call. |
Table 2. Splicer's suite of configurable tools for common instrumentation tasks. Tiers 1–2 support any component-targetable language; tiers 3–4 are currently Rust-only. LoC counts tool logic only, excluding blank lines, comments, and plumbing (e.g., payload serialization) that Splicer factors into a Rust SDK. Equivalent SDKs for other languages would be a one-time cost.

Figure 3. A component can export N unique interfaces a tool must target. The tool can either shipp as N specialized variants, or rely on Splicer's adapter to target all N automatically.

Figure 4. Splicer generates adapters exposing different access levels based on a tool's needs. Tiers 1–3 differ in payload access, while tier 4 enables complete virtualization of a downstream dependency.
they introduce. For example, a tool can propagate metadata across instances by writing to an external agent, provided the host supports such communication.
Tiers 3 and 4 are provided as Rust traits. As these tiers allow payload mutation, sandboxing tools from the adapter is not necessary, so tooling logic is contained directly in the adapter. Callbacks are then simple Rust trait invocations, so these tiers add only one extra cross-component call into the adapter. We implement these adapters in Rust rather than hand-authoring them in Wasm because payload mutation is complex, especially for WIT resources, which require Splicer to reflect on handles. Writing adapters in Rust lets
us inherit a mature toolchain, to which we offload (1) lowering payloads from their abstract representation back into the canonical ABI, (2) synthesizing the backing component for a WIT resource, and (3) tracking own/borrow resource semantics. The design extends cleanly to new capabilities such as resource reflection. Because Splicer controls the adapter's WIT world, tools cannot introduce dependencies by adding imports, but we plan to address this in future work.
3.3.2 Tier1: Name-Only Hook. Tier 1 tools have no data access but can reflect on the function being invoked, which is useful for tooling such as OpenTelemetry span generation. Tools can implement any of the WIT function callbacks:
on-call: func(call: call-id); on-return: func(call: call-id); should-call: func(call: call-id) -> bool;
The on-call callback is invoked before the downstream, on-return is invoked after, and should-call can conditionally skip the downstream, requiring a void downstream function. The call-id is a WIT record containing the interface and function names and a unique ID that can be used to correlate on-call and on-return invocations. To make callback more efficient, Splicer pre-allocates memory for the call-id ABI slots and prefills it with the statically-known interface and function names. The unique ID is calculated and written to its respective slot at invocation time.
3.3.3 Tier2: Read-Only Data. Like tier 1, tier 2 tools can reflect on the invoked function, but additionally have read-only access to its payloads. Tools implement WIT callbacks:
on-call: func(call: call-id, args: list<field>>); on-return: func(call: call-id, result: option<field-tree>>); should-call: func(call: call-id, args: list<field>) -> bool;
Payloads are flattened into an arena/pointer representation:
variant cell { boolean(bool), list-of(list<u32>, // child indices, in order record-of(u32), // --> record-info[idx] resource-handle(u32), // --> handle-info[idx] ... } record record-info { type-name: string, /// (field-name, cell-index) fields: list<tuple<string, u32>>, } record handle-info { type-name: string, id: u64, } record field-tree { root: u32, cells: list<cell>, record-info: list<record-info>, handle-info: list<handle-info>, // ... other side tables } record field { name: string, tree: field-tree, } }
A field-tree is a single payload whose root points to the root cell in the cells arena. Compound cells reference their children by indexing into the arena. Type metadata, such as a record's field names, is stored in *-info side tables so that every cell packs into ≤ 8 bytes. This uniform width lets
the adapter allocate and initialize the arena as one flat array, rather than chasing nested, variably-sized nodes. Handles (resources, streams, and futures) are represented by their integer identifier, which cannot be used to invoke the handle's methods. We strip those capabilities to prevent inadvertent mutation while letting tools correlate the same handle across calls. The field type represents a named function argument, carrying the name from its WIT function signature.
Arguments are provided to a callback as a list of field. Results are a single field-tree payload. When the size of every payload in a target interface is known statically, Splicer performs an optimization that pre-allocates memory regions and generates a side-table of pointers to them.
3.3.4 Tier3: Read/Write Data. This tier provides read/write access to arguments and results. Tools implement:
pub trait TransformStrategy<Args, R> { async fn handle(&self, call: CallId, args: Args, downstream: impl AsyncFn(Args) -> R, ) -> R; }
Arguments are bundled in a generated struct, Args, containing parameter payloads as fields. The downstream closure can be invoked by the tool to call the downstream component and get its results, R, which are simply the declared WIT type. When an argument or result is a handle, the handle is actually passed to the tool. In principle, the tool could invoke its methods, but first reflection must be provided to enable tools to discover a handle's methods.
3.3.5 Tier4: Virtualize. This tier provides read/write data access, but no ability to invoke the original downstream. In fact, the component-level downstream import is not generated in the adapter. Tools implement:
pub trait VirtualizeStrategy<Args, R> { async fn handle(&self, call: CallId, args: Args) -> R; }
This tier is very similar to tier 3's argument bundling and resource limitations due to a lack of reflection capabilities. We plan to provide such features in future work.
3.4 Interposing on WIT Resources
Resources are represented as handles passed across ABI boundaries with explicit ownership semantics. A handle acts as a "smart pointer" to a resource instance, which lives in an implementing component that holds the resource's state and methods. Invoking a resource method sends the operation to this component, which uses the handle to look up the instance and runs the method in its own context.
To accomplish instrumenting a resource, Splicer generates a resource that wraps the target resource. The wrapper, of type T', exposes a WIT world identical to the original resource's, of type T. Through having an identical component

Figure 5. Splicer wraps instrumented resources with a wrapper. If instrumentation is constrained to a subgraph, it must be wrapped/unwrapped at the boundary.
surface, T' handles can be passed anywhere T handles are. Whenever a method is invoked on T', it runs the instrumentation callbacks, then forwards the call to the corresponding method on T. If instrumentation should only be active within a composition subgraph, translation between T and T' is necessary at subgraph boundaries. Figure 5 shows how small component shims are interposed at subgraph boundaries to wrap the raw resource on incoming edges and unwrap on outgoing edges. This way the resource exiting the subgraph is the original, unwrapped resource T while the resource within the subgraph carries instrumentation. This approach cannot capture method calls on a resource when its handle is produced by a free function of an interface that the implementing component exports. Interposing a resource's methods requires substituting its type, but that type is owned by the implementing component, and we cannot override its definition. So once such a component hands out a handle, calls back onto it are invisible to us. This is a consequence of the Component Model's handle semantics, where the resource's identity stays bound to its implementing component.
3.5 The Expressiveness of Splicer
Splicer supports common instrumentation tasks. Matching all edges, with a before rule and a “*” interface, enables use cases such as distributed tracing / span generation [16, 50], data provenance [7], and latency attribution [11]. Data provenance requires context propagation, which is currently achievable in tiers 1–2, but not in tiers 3–4 which do not support additional host imports. This is planned as future work. Matching by type shape, by constraining to functions with certain typed payloads, enables resilience patterns such as retry and timeout [45] and fault-injection testing [24, 38]. Matching by topology, using the on_node and on_subgraph rules, enables use cases like record/replay [15] and mocking [40] of a single node or an entire subgraph.
4 Evaluation
We evaluate the costs of Splicer across a suite of microbenchmarks and compare it to other frameworks on the DeathStarBench [18] Hotel Reservation benchmark.
4.1 The Static Cost
Figure 6 shows static costs in time and space. We measure the bind time, which is the time to rewrite the application code, and code size of the instrumented application. As tier 4 completely replaces a composition's subgraph, only a single interposition is meaningful, so we report its bind time in chart (a) and code size increase in chart (c) for one interposition. Chart (a) shows the bind time as the number of interpositions grows. Tiers 1–2 are fast because Splicer generates Wasm directly, while tiers 3–4 incur a higher cost as Splicer generates and compiles Rust code at bind time. Chart (b) shows the code size breakdown. We attribute code size to its source by measuring each binary before composing them into a single Wasm binary. WAC glue is the difference between the resulting binary's size and the sum of all pre-existing binaries. The left bar shows the base cost and the right shows the increase per interposition. Tier 3–4 adapters directly embed tool code and lowering logic, making them significantly larger than tier 1–2's. The per-interposition code size increase reveals an optimization opportunity for WAC: rather than copying byte-identical components once per instantiation, it could reuse the same component across instantiation sites. This would reduce Splicer's per-interposition cost to just the WAC glue of the new instantiation. Chart (c) shows the code size breakdown for a single interposition, enabling direct comparison across all tiers.
4.2 The Dynamic Cost
We evaluate Splicer on a suite of microbenchmarks and compare it to state-of-the-art frameworks on the DeathStarBench [18] Hotel Reservation benchmark. We ran experiments on a machine with two Xeon Platinum 8168 CPUs @ 2.70GHz with 96 total cores and 384GiB of DDR4 RAM.
4.2.1 Base Splicer Overhead. Figure 7 shows the base overhead of Splicer by measuring throughput with a noop interposition. The specialized measurements show the effect of interposing a directly compatible tool on an interface. The tier 1–3 measurements show the overhead of a Splicer-adapted tool; tier 4 was omitted as it removes downstream calls. The overhead is measured by subtracting the p50 latency of an uninstrumented component from the latency of a noop-interposed composition.
Chart (a) shows the latency imposed across the WIT types defined in Table 3. Specialized and tier 3 instrumentation show similar overhead, showing that latency is dominated by the number of component hops. The overhead is further dominated by marshalling cost. Tier 1 has no data access,


Figure 6. Static base cost of interposing a noop tool. (a) Bind time as interpositions increase. (b) Code-size growth decomposed by source component bytes. (c) Total byte-source attribution of a single interposition across tiers.

Figure 7. Base Splicer overhead with noop tools. (a) The imposed latency by WIT type, see Table 3, (b) Imposed latency as a list<u8>'s size increases.
| WIT Type | Description | Marshalling Behavior |
|---|---|---|
| u32 | scalar | in-register |
| list-u8 | a list of bytes; length 1024 | memcopy |
| string | a list of utf8 bytes; length 1024 | memcopy + UTF-8 validation |
| record-4 | a record with 4 scalar fields | as arg: flattened, in-register; as result: spilled, memcopy |
| record-16 | a record with 16 scalar fields | as arg: flattened, in-register; as result: spilled, memcopy |
| record-32 | a record with 32 scalar fields | as arg: spilled, memcopy; as result: spilled, memcopy |
| list-string | a list of 1024 single-character strings | memcopy + UTF-8 validation per-element |
| result-u32 | variant | as arg: flattened, in-register; as result: spilled, memcopy |
| flags-32 | bitfield of 32 boolean flags | fits in one i32, so it's flattened, in-register |
| resource-0 | handle-table index to resource | handle passed in-register + transferred ownership bookkeeping |
Table 3. WIT types distinguished by their marshalling behavior. Some types are passed in-register for cross-component calls, whether they are spilled and copied over memory depends on flattening thresholds. Arguments expressed in 16 core-Wasm values are flattened into registers while results must fit in 1 core-Wasm value to be flattened.
while tier 2 must lift payloads into the read-only representation, incurring higher latency. Avoiding this cross-boundary lift makes tier 1 over 2x faster for the most expensive WIT type, list<string>. Chart (b) shows the imposed latency to be approximately linear across all tooling, which corresponds to the copying cost as the list grows. Note that as the noop tool never accesses a payload, these costs are incurred just by the interposition existing. Optimizations
such as lazy lowering would greatly reduce such base costs, only incurring overhead on payload access.
4.2.2 Real Instrumentation Workloads. Figure 8 shows the absolute overhead on the p50 latency imposed by Splicer builtins (see Table 2) across WIT types (see Table 3). Note that the y-axis limit differs per chart. Tier 1 is small and uniform as it does not pass payloads to tools, while others grow with marshalling complexity. Tier 4 shows that
https://github.com/WebAssembly/component-model/issues/383

Figure 8. The overhead of Splicer builtins across WIT types. Bars show the absolute overhead defined as p50(builtin) – p50(uninstrumented). Bars exceeding the y limits are labeled and “X” marks types not interoperable by the builtin.
virtualizing the downstream saves time on the expensive list<string> type as it returns an empty list. While the ABI represents the flags type as a single u32, it is much more expensive than the u32 type in Tiers 3–4, because these tiers reify flags as lists of strings. We also see that any builtin that serializes or deserializes the payload's WAVE representation has a higher cost, including the memoize, redact-strings, fuzz-results, and replayer builtins. As the memoize builtin skips the downstream request on identical incoming payloads, it is only cheaper if the cost of checking is less than the downstream cost. The redact-strings, fuzz-results, and replayer builtins all must initialize WAVE representations of a redacted, or synthesized payload into its WIT type. As fuzz-results and replayer builtins do not require inspecting arguments, they avoid that extra overhead.
4.2.3 Splicer vs. State-of-the-Art Frameworks. To evaluate Splicer, we categorize other approaches in Table 4 and select representative candidates for empirical evaluation. In this experiment, we run a simple echo service under increasing load and configure each framework to collect the same metrics (request count and latency). We use the wrk2 workload generator and poll docker stats once per second to collect working-set memory and CPU usage across all containers in the deployment. We sum memory and CPU usage across all containers, averaged over the measurement window, where 100% means one full CPU core. For the in-language strategy, we perform an extra function call before the handler logic. Envoy [52] uses the Sidecar strategy, which routes traffic through a proxy. Beyla [21] uses eBPF to attach probes in the kernel and user space to observe requests, with a data collector agent that reads from a ring buffer. Splicer interposes before the handler component which runs in Wasm.
Figure 9 shows the p50 (median) latency, CPU, and memory usage of these frameworks. Our measurements show that
the in-language middleware overhead is negligible, barely detectable in latency and tracks CPU percentage closely. The sidecar imposes high latency due to its added network hop, which is avoided by Splicer by operating in-process and eBPF by operating inline in the kernel. Beyla's high memory overhead is due to the extra agent running in the Docker container, which dwarfs the size of the small echo service . The sidecar likewise adds a separate Envoy proxy process, though a much smaller one. The service host stores and reuses instances across requests in all deployments. These instances are larger for in-language middleware and Splicer as they also contain instrumentation code, with Splicer embedding it as a whole new component.
4.2.4 Real-World Application. A microservice benchmark does not currently exist for WebAssembly components. We therefore contribute a component port of the DeathStar-Bench Hotel Reservation application. All services are written in Go, compile to Wasm components with TinyGo, and run on the wasmtime engine. Each service is factored into its core business logic, a store component that uses MongoDB, and a cache component similar to memcached. This factoring enables two deployment architectures: one where all components run as separate containers communicating over TCP, or as a single composition communicating over the ABI.
Component MSA port with verified equivalence. To verify our port's equivalence with the original application, we built a harness that checks the following properties:
-
Initial state: The seeded DB is identical at startup.
-
Functionality: Per-request responses are identical.
-
Final state: The DB is equivalent after the run.
-
Topology: Per-request backend service, DB, and cache requests match.
In a real deployment, its footprint is negligible as it supports every service running on a single node.
| Architecture | Bind Time | Placement | Granularity | Typed Reach | Language Portability | Deployment |
|---|---|---|---|---|---|---|
| Sidecar | Deploy-time | Process/network perimeter | Protocol-level types (L7), raw bytes (L4) | 1 typed/protocol; untyped | All languages | Separate process |
| eBPF | Runtime (dynamic attach) | Kernel/syscall; uprobes w/ symbols | Syscalls, kernel events, network packets | 0 typed; untyped | All languages | In-kernel + agent process |
| In-language | Compile-time | In-process call sites | Types exposed by framework | N typed, framework-exposed | 1 (tied to language and framework) | Bundled in app |
| Splicer | Build-time | Any edge (perimeter or internal) | Typed WIT values at arbitrary WIT interfaces | N typed, any interface | All wasm-targetable languages | Bundled in app |
Table 4. Comparison of instrumentation framework architectures.

Figure 9. The cost of interposing a noop tool on a single wasi-http echo service across frameworks, as load increases showing: (a) p50 latency, (b) CPU usage, and (c) container working-set memory (docker stats).
The request corpus comprehensively covers success and failure cases across all endpoints, which is run serially against both applications. Instrumented executions collect the topology per request and record all responses and DB state, which is used to verify equivalence offline. We require equivalence across all properties after programmatically accounting for explicitly known architectural differences such as the extra component layer before MongoDB resulting in a different topology from the native Go implementation.
Benchmark Corrections. To complete our experiments, we corrected a small number of issues in the original benchmark and the component port. The component port is compiled using TinyGo version 0.41.1 with a minor patch that fixes a GC bug. We also discovered that the original DeathStarBench had a severe scalability problem where the percentage of writes saturated the reservation service under sustained load resulting in a high number of scans. We added an index to the DB to correct this in both applications. Further, to remove confounding overheads from the native Go application, we removed the use of Jaeger, a framework for automatic tracing, and Consul, a service discovery tool . These changes ensured that the native Go application had the highest performance possible when compared with the component port.
Splicer on a Real-World MSA. We run the Wasm port as individual services hosted in containers communicating over TCP, and as a single composed service communicating over the ABI. All experiments were run on localhost to keep unpredictable network latencies from affecting TCP measurements. We use the wrk2 workload generator at 75% read, 20% write, and 5% authentication requests. We compare Splicer against Go's gRPC middleware, Envoy, and Beyla. Each instrumented variant targets every service: every container in the distributed deployments, and every component in the ABI composition. If a deployment saturates (the reached requests per second, RPS, is less than 90% of the target), a hollow marker is used in the plot.
Figure 10 shows the p50 latency, CPU usage, and container working-set memory of both the baseline and instrumented
We made all calls to Jaeger no-op and replaced Consul queries with hard-coded IP addresses

Figure 10. The p50 latency, CPU usage, and working-set memory of the DeathStarBench application across frameworks and architectures, varying the requests per second. CPU and memory usage are summed across all services in the deployment and averaged over the measurement window. Empty circles represent throughput saturation, which is defined as the actual RPS reached being < 90% of the target RPS.
applications. Native Go saturates much later, at 8000 RPS, than Wasm components communicating over TCP, at 2500 RPS. Wasm components communicating over the ABI do not reach saturation even at 12000 RPS, which holds even for the instrumented deployments. In-language instrumentation performs best on native as it is a cheap, in-process Go function call on the request handler. Envoy scales better than Beyla due to a per-request cost. Measurements indicate that Beyla's CPU usage is significantly higher than Envoy's, yet at saturation the total CPU load sits well below the 96 available cores. This CPU usage is concentrated on the reservation service, which consumed roughly 41 cores, nearly 3x more than the uninstrumented service; under Envoy, reservation's usage was essentially unchanged. Beyla collects request context with uprobes, which execute directly inline on the application's request-handling threads. These probes fire on every downstream call a service makes, so as load rises, probes compete with the service for its own threads. This impacts reservation the most, as it performs the most datastore operations and handles about 70% of all
requests under our load configuration. Envoy scales better for this specific application because our load concentrates traffic on a single service, and a sidecar's separate process can spread across idle cores where Beyla's inline probes cannot. In contrast, the in-process experiment shows that, for Splicer, adding any of the metric, log, and span instrumentation has low overhead in latency, CPU, and memory as load scales beyond 12000 RPS. This demonstrates that the limiting factor of the application throughput is largely driven by the communication primitive. While throughput remains steady at high RPS, running such a large composition requires significantly more memory as component instances are stored and reused across requests.
5 Related Work
Source-Level instrumentation. While a tool can be directly written in or alongside a program's source code (typically manually via SDKs or automatically via AOP [27]), doing so comes with disadvantages. First, it generates opaque binaries where source and tool code are mixed together, requiring a full rebuild and redeploy of the program to update, add, or remove tools. As Splicer operates directly on the Wasm binary, instrumentation can be updated by rerunning the tool without source access. Second, source-level tools are bound to a specific, target language and must be reimplemented in any new language. Targeting language-portable WIT interfaces enables Splicer to port across languages.
Rewriting. New instructions can be inserted directly into a program by rewriting its source, IR, bytecode [10], or machine code. Static rewriting frameworks, such as Oron [41] and EEL [30], inject tool code into a program before its execution, producing an instrumented program that ports across execution platforms. Dynamic rewriting frameworks, such as Jalangi [49], Pin [34], DynamoRIO [6], and Frida [17], insert tool code at runtime. However, this approach incurs an instrumentation binding cost at runtime, slowing program startup. Hybrid approaches can attempt to reduce such overheads with caching [48]. However, as with source-level instrumentation, these approaches produce opaque artifacts that risk changing program behavior inadvertently. Splicer performs static rewriting on target compositions, while newly interposed components are “opaquely” inserted, they are sandboxed in that they share no state with the application, guaranteeing to not affect program behavior.
Emulation. Emulators and VMs, such as QEMU [4] and Valgrind [44], enable instrumentation without rewriting. Rather, they track instrumented program points and invoke tools in a separate state space. These approaches often make heavy instrumentation prohibitively expensive, though optimizations can achieve high performance [14]. Regardless, they all lock tools into a specific runtime with such capabilities. Splicer performs instrumentation by injecting directly into guest bytecode, which ports across any component-supporting Wasm runtime without special handling.
Instrumenting at the Program Perimeter. Rather than instrumenting the program itself, frameworks that work outside the application and runtime layer can be leveraged to instrument observable program execution side effects. At the process-level abstraction, frameworks such as ptrace [32], strace [51], and others [20, 26] can observe syscalls and signals. At the kernel/OS level, frameworks such as DTrace [22], eBPF [37] and Event Tracing for Windows (ETW) [39] can observe events like page faults, and scheduling. Further below, at the hardware/CPU-level, frameworks such as Intel Processor Trace (Intel PT) [2] observe control flow. Some frameworks target webservices specifically. External network edges can observe client/service requests using API gateways (e.g. Kong [29] and ContextForge's AI Gateway [13]) and Web Application Firewalls (e.g. ModSecurity [46]). Within a cluster, service meshes such as Istio [53] and Linkerd [55] can observe and control traffic (L7 HTTP and gRPC) between services. This is done by intercepting requests via
per-workload sidecar proxies (Envoy [52] for Istio and Linkerd Proxy [54] for Linkerd). However, sidecars are known to have disadvantages including high resource consumption, and increased application latency [63].
While these frameworks enable language-portable, high-granularity instrumentation, they are limited by the semantics crossing their specific boundary (bytes and syscalls at the lowest layers, and network protocols at the highest). These frameworks never achieve the typed, application-level values exchanged inside a workload (except for RPC interposers as this protocol carries high-level types across boundaries). Splicer can achieve such high-level semantics through operating on the WIT interface, a communication layer that carries the types itself. Further, they are constrained to their runtime context (a specific ISA, protocol, etc.), whereas Splicer is a generic framework that interposes at any component boundary, porting to anywhere Wasm can execute and behind any protocol implemented by the host.
Middleware interceptors. Middleware exposes typed communication boundaries similar to Wasm's WIT definitions, making them attractive interposition points. CORBA [36] supports interposition natively through portable interceptors, binding the interceptor's feature set to the platform's capabilities. COM [25] intercepts without dedicated platform support through binary rewriting. SDMM [33] also does this, but generalizes across DDS and gRPC. These avoid the native-support requirement, but bind to a specific binary format or hardware architecture. Splicer is ordinary Wasm component composition, running anywhere Wasm does, and requiring no special runtime support. This decouples its capabilities from the underlying engine, so its feature set ports across engine versions as it matures.
Wasm Instrumentation. Wasm core modules can be instrumented via static rewriting with frameworks such as BREWasm [9], AspectWasm [47], Walrus [3], Wastrumentation [42], and Wasabi [31]. Engines with instrumentation support, such as Wizard [57], can also be used to instrument core modules where the tool code exists in a separate state space from the program. This target enables composable monitoring with high-performance due to intrinsic in the interpreter and JIT tiers. Whamm [19] is a framework with a DTrace-style DSL that can instrument programs via its engine or bytecode rewriting targets. All of these frameworks can operate on core modules, but do not support component-level instrumentation. A position-paper [5] proposes a similar architecture to ours; however, it does not provide an automated implementation of the idea, empirically evaluate it, or generalize the applicability of the architecture beyond a DSL for security. Splicer enables instrumentation at the component level and exposes a generic framework that can be leveraged across diverse use cases.
6 Conclusion and Future Work
This work presents Splicer, a framework that enables cross-language interposition with powerful expression to support diverse use cases. Through targeting the Wasm Component Model, Splicer provides instrumentation that: 1) operates on semantically rich types, 2) is sandboxed, and 3) ports seamlessly across polyglot contexts. We showed it to have acceptable performance directly tied to the performance of the Component Model itself; as the Component Model matures, its optimizations will directly benefit Splicer.
In future work, we plan to expand the capabilities of Splicer through supporting any Wasm-targetable language across all tiers (tiers 3–4 only support Rust), upcycle the YAML configuration into the full expressive power of a DSL, and expose an interface for ergonomic context propagation between interpositions (like Pivot Tracing's [35] baggage). While propagation is technically achievable now on tiers 1–2, it is tedious and requires an external agent process. It should be achievable in Splicer natively by linking extra metadata-collecting instances into configured tool instances.
Acknowledgments
This work is supported by the WebAssembly Research Center and the NSF Grant Award #2148301. We would like to thank Pat Hickey and Oscar Spencer at F5, Bailey Hayes at Cosmonic, Yan Chen at Fastly, and Ewout Verlinde at Ghent University.
References
[1] 2020. The edge of the multi-cloud. https://www.fastly.com/cassets/6pk8mg3yh2ee/79dsHLTEfYlMgUwVVllaa4/5e5330572b8f317f72e16696256d8138/WhitePaper-Multi-Cloud.pdf. https://www.fastly.com/cassets/6pk8mg3yh2ee/79dsHLTEfYlMgUwVVllaa4/5e5330572b8f317f72e16696256d8138/WhitePaper-Multi-Cloud.pdf (Accessed 2021-07-06).
[2] 2023. Intel 64® and IA-32 Architectures Software Developer's Manual Volume 3 (3A, 3B, 3C & 3D): System Programming Guide. Chapter 33: Intel Processor Trace.
[3] 2023. Walrus: A WebAssembly transformation library. https://github.com/rustwasm/walrus. https://github.com/rustwasm/walrus
[4] Fabrice Bellard. 2020. QEMU: A generic and open source machine emulator and virtualizer. http://qemu.org. http://qemu.org (Accessed 2023-8-07).
[5] Olav Blakk and Tom Van Cutsem. 2026. Towards Least-Privilege WebAssembly Applications: Transparent Interposition for WebAssembly Components. In Companion Proceedings of the 10th International Conference on the Art, Science, and Engineering of Programming (<Programming> Companion '26). Association for Computing Machinery, New York, NY, USA, 14–17. doi:10.1145/3801119.3801125
[6] D Bruening, T Garnett, and S Amarasinghe. 2003. An infrastructure for adaptive dynamic optimization. In International Symposium on Code Generation and Optimization, 2003. CGO 2003 (San Francisco, CA, USA). IEEE Comput. Soc.
[7] Peter Buneman, Sanjeev Khanna, and Tan Wang-Chiew. 2001. Why and Where: A Characterization of Data Provenance. In Database Theory – ICDT 2001, Jan Van den Bussche and Victor Vianu (Eds.). Springer Berlin Heidelberg, Berlin, Heidelberg, 316–330.
[8] Bytecode Alliance. 2024. WAC: WebAssembly Compositions. https://github.com/bytecodealliance/wac Accessed: 2026-04-28.
[9] Shangtong Cao, Ningyu He, Yao Guo, and Haoyu Wang. 2023. BRE-Wasm: A General Static Binary Rewriting Framework for WebAssembly. In Static Analysis: 30th International Symposium, SAS 2023, Cascais, Portugal, October 22–24, 2023, Proceedings (Lisbon, Portugal). Springer-Verlag, Berlin, Heidelberg, 139–163. doi:10.1007/978-3-3031-44245-2_8
[10] Sangwook Cho, Gyoosik Kim, Seong-je Cho, Jongmoo Choi, Minkyu Park, and Sangchul Han. 2016. Runtime Input Validation for Java Web Applications using Static Bytecode Instrumentation. In Proceedings of the International Conference on Research in Adaptive and Convergent Systems (Odense, Denmark) (RACS '16). Association for Computing Machinery, New York, NY, USA, 148–152. doi:10.1145/2987386.2987432
[11] Michael Chow, David Meisner, Jason Flinn, Daniel Peek, and Thomas F. Wenisch. 2014. The Mystery Machine: End-to-end Performance Analysis of Large-scale Internet Services. In USENIX Symposium on Operating Systems Design and Implementation. https://api.semanticscholar.org/CorpusID:5661499
[12] Cloud Native Computing Foundation. 2024. wasmCloud – CNCF Project. https://www.cncf.io/projects/wasmcloud/ Accessed: 2026-04-28.
[13] ContextForge. 2026. Plugin Framework Specification. https://ibm.github.io/mcp-context-forge/1.0.0-RC3/architecture/plugins/ Accessed: 2026-09-21.
[14] Emilio G. Cota and Luca P. Carloni. 2019. Cross-ISA machine instrumentation using fast and scalable dynamic binary translation. In Proceedings of the 15th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments (Providence, RI, USA) (VEE 2019). Association for Computing Machinery, New York, NY, USA, 74–87. doi:10.1145/3313808.3313811
[15] Koen De Bosschere and Jacques Kergommueux. 2000. Execution replay and debugging.
[16] Rodrigo Fonseca, George Porter, Randy Katz, Scott Shenker, and Ion Stoica. 2007. X-Trace: A Pervasive Network Tracing Framework.
[17] Frida. 2024. Frida: A world-class dynamic instrumentation toolkit. https://frida.re/ Accessed: 2026-04-28.
[18] Yu Gan, Yanqi Zhang, Dailun Cheng, Ankitha Shetty, Priyal Rathi, Nayan Katarki, Ariana Bruno, Justin Hu, Brian Ritchken, Brendon Jackson, Kelvin Hu, Meghna Pancholi, Yuan He, Brett Clancy, Chris Colen, Fukang Wen, Catherine Leung, Siyuan Wang, Leon Zaruvinsky, Mateo Espinosa, Rick Lin, Zhongling Liu, Jake Padilla, and Christina Delimitrou. 2019. An Open-Source Benchmark Suite for Microservices and Their Hardware-Software Implications for Cloud & Edge Systems. In Proceedings of the Twenty-Fourth International Conference on Architectural Support for Programming Languages and Operating Systems (Providence, RI, USA) (ASPLOS '19). Association for Computing Machinery, New York, NY, USA, 3–18. doi:10.1145/3297858.3304013
[19] Elizabeth Gilbert, Matthew Schneider, Zixi An, Suhas Thalanki, David Bowman, Alexander Y. Bai, Ben L. Titzer, and Heather Miller. 2025. Debugging WebAssembly? Put Some Whamm on It! Proc. ACM Program. Lang. 9, OOPSLA2, Article 346 (Oct. 2025), 29 pages. doi:10.1145/3763124
[20] Jesús María Gómez Moreno, Vissarion Moutafis, Antreas Dionysiou, Fernando Kuipers, Georgios Smaragdakis, Bart Coppens, and Alexios Voulimeneas. 2025. Clair Obscur: The Light and Shadow of System Call Interposition – From Pitfalls to Solutions with K23. In Proceedings of the 26th International Middleware Conference (Vanderbilt University, Nashville, TN, USA) (Middleware '25). Association for Computing Machinery, New York, NY, USA, 241–255. doi:10.1145/3721462.3770772
[21] Grafana Labs. 2026. eBPF application auto-instrumentation. https://grafana.com/docs/beyla/latest/ Accessed: 2026-09-11.
[22] Brendan Gregg and Jim Mauro. 2011. DTrace: Dynamic Tracing in Oracle Solaris, Mac OS X and FreeBSD (1st ed.). Prentice Hall Press,
USA.
[23] Andreas Haas, Andreas Rossberg, Derek L. Schuff, Ben L. Titzer, Michael Holman, Dan Gohman, Luke Wagner, Alon Zakai, and JF Bastien. 2017. Bringing the Web up to Speed with WebAssembly. In Proceedings of the 38th ACM SIGPLAN Conference on Programming Language Design and Implementation (Barcelona, Spain) (PLDI 2017). Association for Computing Machinery, New York, NY, USA, 185–200. doi:10.1145/3062341.3062363
[24] Victor Heorhiadi, Shriram Rajagopalan, Hani Jamjoom, Michael K. Reiter, and Vyas Sekar. 2016. Gremlin: Systematic Resilience Testing of Microservices. In 2016 IEEE 36th International Conference on Distributed Computing Systems (ICDCS). 57–66. doi:10.1109/ICDCS.2016.11
[25] Galen C. Hunt and Michael L. Scott. 1999. Intercepting and instrumenting COM applications. In Proceedings of the 5th Conference on USENIX Conference on Object-Oriented Technologies & Systems - Volume 5 (San Diego, California) (COOTS'99). USENIX Association, USA, 4.
[26] Adriaan Jacobs, Merve Gülmez, Alicia Andries, Stijn Volckaert, and Alexios Voulimeneas. 2024. System Call Interposition Without Compromise. In 2024 54th Annual IEEE/IFIP International Conference on Dependable Systems and Networks (DSN). 183–194. doi:10.1109/DSN58291.2024.00030
[27] Gregor Kiczales, John Lamping, Anurag Mendhekar, Chris Maeda, Cristina Lopes, Jean-Marc Loingtier, and John Irwin. 1997. Aspect-oriented programming. In ECOOP'97 – Object-Oriented Programming, Mehmet Akşit and Satoshi Matsuoka (Eds.). Springer Berlin Heidelberg, Berlin, Heidelberg, 220–242.
[28] Jinyeol Kim, Chaebin Lee, Jongwon Oh, Joungmin Park, and Seung Eun Lee. 2026. WPU: A Pipelined WebAssembly Processing Unit for Embedded IoT Systems. In 2026 31st Asia and South Pacific Design Automation Conference (ASP-DAC). 1357–1363. doi:10.1109/ASP-DAC66049.2026.11420760
[29] Kong Inc. 2024. Kong: The Cloud Connectivity Company. https://kongh.com/ Accessed: 2026-04-28.
[30] James R. Larus and Eric Schnarr. 1995. EEL: Machine-Independent Executable Editing. In Proceedings of the ACM SIGPLAN 1995 Conference on Programming Language Design and Implementation (La Jolla, California, USA) (PLDI '95). Association for Computing Machinery, New York, NY, USA, 291–300. doi:10.1145/207110.207163
[31] Daniel Lehmann and Michael Pradel. 2019. Wasabi: A Framework for Dynamically Analyzing WebAssembly. In Proceedings of the Twenty-Fourth International Conference on Architectural Support for Programming Languages and Operating Systems (Providence, RI, USA) (ASP-LOS '19). Association for Computing Machinery, New York, NY, USA, 1045–1058. doi:10.1145/3297858.3304068
[32] Linux Manual. 1999. ptrace(2): process trace – Linux man-pages. https://man7.org/linux/man-pages/man2/ptrace.2.html Accessed: 2026-04-28.
[33] Nyalia Lui and James H. Hill. 2021. A generalized approach to real-time, non-intrusive instrumentation and monitoring of standards-based distributed middleware. Journal of Systems Architecture 117 (2021), 102181. doi:10.1016/j.sysarc.2021.102181
[34] Chi-Keung Luk, Robert Cohn, Robert Muth, Harish Patil, Artur Klauser, Geoff Lowney, Steven Wallace, Vijay Janapa Reddi, and Kim Hazelwood. 2005. Pin: Building Customized Program Analysis Tools with Dynamic Instrumentation. SIGPLAN Not. 40, 6 (June 2005), 190–200. doi:10.1145/1064978.1065034
[35] Jonathan Mace, Ryan Roelke, and Rodrigo Fonseca. 2020. Pivot tracing: dynamic causal monitoring for distributed systems. Commun. ACM 63, 3 (Feb. 2020), 94–102. doi:10.1145/3378933
[36] Carlo Marchetti and Leopoldo Verde. 2003. CORBA request portable interceptors: Analysis and applications. Concurrency and Computation: Practice and Experience 15 (05 2003), 551–579. doi:10.1002/cpe.716
[37] Steven McCanne and Van Jacobson. 1993. The BSD packet filter: a new architecture for user-level packet capture. In Proceedings of the
USENIX Winter 1993 Conference Proceedings on USENIX Winter 1993 Conference Proceedings (San Diego, California) (USENIX'93). USENIX Association, USA, 2.
[38] Christopher S. Meiklejoh, Andrea Estrada, Yiwen Song, Heather Miller, and Rohan Padhye. 2021. Service-Level Fault Injection Testing. In Proceedings of the ACM Symposium on Cloud Computing (Seattle, WA, USA) (SoCC '21). Association for Computing Machinery, New York, NY, USA, 388–402. doi:10.1145/3472883.3487005
[39] Microsoft. 2024. Event Tracing for Windows. https://learn.microsoft.com/en-us/windows/win32/etw/event-tracing-portal Accessed: 2026-04-28.
[40] Shaikh Mostafa and Xiaoyin Wang. 2014. An Empirical Study on the Usage of Mocking Frameworks in Software Testing. In 2014 14th International Conference on Quality Software. 127–132. doi:10.1109/QSIC.2014.19
[41] Aäron Munsters, Angel Luis Scull Pupo, Jim Bauwens, and Elisa Gonzalez Boix. 2021. Oron: Towards a Dynamic Analysis Instrumentation Platform for AssemblyScript. In Companion Proceedings of the 5th International Conference on the Art, Science, and Engineering of Programming (Cambridge, United Kingdom) (Programming '21). Association for Computing Machinery, New York, NY, USA, 6–13. doi:10.1145/3464432.3464780
[42] Aäron Munsters, Angel Luis Scull Pupo, and Elisa Gonzalez Boix. 2025. Wastrumentation: Portable WebAssembly Dynamic Analysis with Support for Intercession. In 39th European Conference on Object-Oriented Programming (ECOOP 2025) (Leibniz International Proceedings in Informatics (LIPlcs), Vol. 333), Jonathan Aldrich and Alexandra Silva (Eds.). Schloss Dagstuhl – Leibniz-Zentrum für Informatik, Dagstuhl, Germany, 23:1–23:29. doi:10.4230/LIPlcs.ECOOP.2025.23
[43] Otoya Nakakaze, István Koren, Florian Brillowski, and Ralf Klamma. 2022. Retrofitting Industrial Machines with WebAssembly on the Edge. In Web Information Systems Engineering – WISE 2022, Richard Chbeir, Helen Huang, Fabrizio Silvestri, Yannis Manolopoulos, and Yanchun Zhang (Eds.). Springer International Publishing, Cham, 241–256.
[44] Nicholas Nethercote and Julian Seward. 2007. Valgrind: A Framework for Heavyweight Dynamic Binary Instrumentation. SIGPLAN Not. 42, 6 (jun 2007), 89–100. doi:10.1145/1273442.1250746
[45] Michael Nygard. 2007. Release It! Design and Deploy Production-Ready Software. Pragmatic Bookshelf.
[46] OWASP ModSecurity Project. 2024. ModSecurity: Open Source Web Application Firewall. https://github.com/owasp-modsecurity/ModSecurity Accessed: 2026-04-28.
[47] João Rodrigues and Jorge Barreiros. 2022. Aspect-Oriented WebAssembly Transformation. In 2022 17th Iberian Conference on Information Systems and Technologies (CISTI). 1–6. doi:10.23919/CISTI54924.2022.9820136
[48] Amitabha Roy, Steven Hand, and Tim Harris. 2011. Hybrid binary rewriting for memory access instrumentation. In Proceedings of the 7th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments (Newport Beach, California, USA) (VEE '11). Association for Computing Machinery, New York, NY, USA, 227–238. doi:10.1145/1952682.1952711
[49] Koushik Sen, Swaroop Kalasapur, Tasneem Brutch, and Simon Gibbs. 2013. Jalangi: A Selective Record-Replay and Dynamic Analysis Framework for JavaScript. In Proceedings of the 2013 9th Joint Meeting on Foundations of Software Engineering (Saint Petersburg, Russia) (ES-EC/FSE 2013). Association for Computing Machinery, New York, NY, USA, 488–498. doi:10.1145/2491411.2491447
[50] Benjamin H. Sigelman, Luiz André Barroso, Michael Burrows, Patrick Stephenson, Manoj Plakal, Donald Beaver, Saul Jaspan, and Chandan Kumar Shanbhag. 2010. Dapper, a Large-Scale Distributed Systems Tracing Infrastructure. https://api.semanticscholar.org/CorpusID:14271421
[51] strace project. 2024. strace: linux syscall tracer. https://strace.io/Accessed: 2026-04-28.
[52] The Envoy Authors. 2024. Envoy Proxy. https://www.envoyproxy.io/Accessed: 2026-04-28.
[53] The Istio Authors. 2025. Istio: Connect, Secure, Control, and Observe Services. https://istio.io/ Accessed: 2026-04-28.
[54] The Linkerd Authors. 2024. linkerd2-proxy: A purpose-built proxy for the Linkerd service mesh. https://github.com/linkerd/linkerd2-proxy Accessed: 2026-04-28.
[55] The Linkerd Authors. 2026. Linkerd: The world's lightest, fastest service mesh. https://linkerd.io/ Accessed: 2026-04-28.
[56] Ben L. Titzer, Elizabeth Gilbert, Bradley Wei Jie Teo, Yash Anand, Kazuyuki Takayama, and Heather Miller. 2024. Flexible Non-intrusive Dynamic Instrumentation for WebAssembly. In Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 3 (La Jolla, CA, USA) (ASPLOS '24). Association for Computing Machinery, New York, NY, USA, 398–415. doi:10.1145/3620666.3651338
[57] Ben L. Titzer, Elizabeth Gilbert, Bradley Wei Jie Teo, Yash Anand, Kazuyuki Takayama, and Heather Miller. 2024. Flexible Non-intrusive Dynamic Instrumentation for WebAssembly. In Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 3 (La Jolla, CA, USA) (ASPLOS '24). Association for Computing Machinery, New York, NY, USA, 398–415. doi:10.1145/3620666.3651338
[58] 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).
[59] Rouyi Wang, Zhi Zhou, and Xu Chen. 2025. Demo: WasmSD-Edge: A Lightweight Edge Stable Diffusion Image Generation Framework Based on WebAssembly. In Proceedings of the 31st Annual International Conference on Mobile Computing and Networking (Kerry Hotel, Hong Kong, Hong Kong, China) (ACM MOBICOM '25). Association for Computing Machinery, New York, NY, USA, 1210–1212. doi:10.1145/3680207.3765593
[60] WebAssembly Community Group. 2024. WebAssembly Component Model. https://github.com/WebAssembly/component-model Accessed: 2026-04-28.
[61] WebAssembly Community Group. 2024. WIT: WebAssembly Interface Type. https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md Accessed: 2026-04-28.
[62] WebAssembly Community Group. 2026. Canonical ABI Explainer. https://github.com/WebAssembly/component-model/blob/main/design/mvp/CanonicalABI.md Accessed: 2026-04-28.
[63] Xiangfeng Zhu, Guozhen She, Bowen Xue, Yu Zhang, Yongsu Zhang, Xuan Kelvin Zou, XiongChun Duan, Peng He, Arvind Krishnamurthy, Matthew Lentz, Danyang Zhuo, and Ratul Mahajan. 2023. Dissecting Overheads of Service Mesh Sidecars. In Proceedings of the 2023 ACM Symposium on Cloud Computing (Santa Cruz, CA, USA) (SoCC '23). Association for Computing Machinery, New York, NY, USA, 142–157. doi:10.1145/3620678.3624652
[64] Ivan Zyrianoff, Federico Montori, Angelo Trotta, Luca Sciullo, Lorenzo Gigli, Carlos Kamienski, and Marco Di Felice. 2025. A Location-Aware WebAssembly-Based Software Update Framework for IoT End Devices. In 2025 IEEE 22nd Consumer Communications & Networking Conference (CCNC). 1–4. doi:10.1109/CCNC54725.2025.10976056