Skip to content

Commit 9fb1643

Browse files
committed
fix: missing copyright information
Signed-off-by: Shriti Priya <shritip@ibm.com>
1 parent b6118d3 commit 9fb1643

18 files changed

Lines changed: 89 additions & 0 deletions

crates/cpex-wasm-host/benchmarking/comprehensive.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Location: ./crates/cpex-wasm-host/benchmarking/comprehensive.rs
2+
// Copyright 2026
3+
// SPDX-License-Identifier: Apache-2.0
4+
// Authors: Shriti Priya
5+
//
16
//! Comprehensive benchmarks: cold start, real computation, custom payload, concurrency.
27
//!
38
//! Complements invocation.rs (which measures isolation overhead) with benchmarks

crates/cpex-wasm-host/benchmarking/invocation.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Location: ./crates/cpex-wasm-host/benchmarking/invocation.rs
2+
// Copyright 2026
3+
// SPDX-License-Identifier: Apache-2.0
4+
// Authors: Shriti Priya
5+
//
16
//! Performance benchmarks: WASM plugin invocation vs native handler.
27
//!
38
//! Measures the isolation tax of running the same logic through the

crates/cpex-wasm-host/benchmarking/plot_results.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/usr/bin/env python3
2+
# Location: ./crates/cpex-wasm-host/benchmarking/plot_results.py
3+
# Copyright 2026
4+
# SPDX-License-Identifier: Apache-2.0
5+
# Authors: Shriti Priya
26
"""
37
Performance comparison chart generator for CPEX WASM benchmarks.
48

crates/cpex-wasm-host/examples/wasm_capabilities_demo.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Location: ./crates/cpex-wasm-host/examples/wasm_capabilities_demo.rs
2+
// Copyright 2026
3+
// SPDX-License-Identifier: Apache-2.0
4+
// Authors: Shriti Priya
5+
//
16
// WASM Capabilities Demo
27
//
38
// Demonstrates:

crates/cpex-wasm-host/examples/wasm_plugin_demo.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Location: ./crates/cpex-wasm-host/examples/wasm_plugin_demo.rs
2+
// Copyright 2026
3+
// SPDX-License-Identifier: Apache-2.0
4+
// Authors: Shriti Priya
5+
//
16
// WASM Plugin Demo
27
//
38
// End-to-end demo mirroring cpex-core/examples/plugin_demo.rs, but all 4

crates/cpex-wasm-host/tests/test_custom_payload_pipeline.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Location: ./crates/cpex-wasm-host/tests/test_custom_payload_pipeline.rs
2+
// Copyright 2026
3+
// SPDX-License-Identifier: Apache-2.0
4+
// Authors: Shriti Priya
5+
//
16
//! Integration test: verifies the custom-payload WASM plugin pipeline end-to-end.
27
//!
38
//! Loads 4 real `.wasm` plugins (tool-invoke-checker, pii-guard, remote-authz,

crates/cpex-wasm-host/tests/test_sandbox_env.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Location: ./crates/cpex-wasm-host/tests/test_sandbox_env.rs
2+
// Copyright 2026
3+
// SPDX-License-Identifier: Apache-2.0
4+
// Authors: Shriti Priya
5+
//
16
//! Integration test: verifies WASM sandbox environment variable isolation.
27
//!
38
//! Loads a real `.wasm` plugin that reads env vars (HOME, PATH, SECRET_API_KEY).

crates/cpex-wasm-host/tests/test_sandbox_isolation.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Location: ./crates/cpex-wasm-host/tests/test_sandbox_isolation.rs
2+
// Copyright 2026
3+
// SPDX-License-Identifier: Apache-2.0
4+
// Authors: Shriti Priya
5+
//
16
//! Integration test: verifies WASM sandbox filesystem isolation.
27
//!
38
//! Loads a real `.wasm` plugin that attempts to read `/etc/passwd`.

crates/cpex-wasm-host/tests/test_sandbox_network.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Location: ./crates/cpex-wasm-host/tests/test_sandbox_network.rs
2+
// Copyright 2026
3+
// SPDX-License-Identifier: Apache-2.0
4+
// Authors: Shriti Priya
5+
//
16
//! Integration test: verifies WASM sandbox network isolation.
27
//!
38
//! Loads a real `.wasm` plugin that attempts DNS resolution / network access.

crates/cpex-wasm-host/tests/test_security_enforcement.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Location: ./crates/cpex-wasm-host/tests/test_security_enforcement.rs
2+
// Copyright 2026
3+
// SPDX-License-Identifier: Apache-2.0
4+
// Authors: Shriti Priya
5+
//
16
// Tests for defense-in-depth security enforcement in WasmBridgeHandler.
27
//
38
// These tests validate the four security checks:

0 commit comments

Comments
 (0)