Skip to main content

jsdet_chrome_ext/
lib.rs

1//! # jsdet-chrome-ext — Chrome Extension API bridges
2//!
3//! Implements the `Bridge` trait with instrumented Chrome extension APIs.
4//! Every chrome.* call is observable, every message is interceptable,
5//! every storage access is logged.
6//!
7//! ## Modules
8//!
9//! - `manifest` — Parse manifest.json, extract permissions, content scripts, CSP
10//! - `profile` — TOML-based analysis profiles (sources, sinks, transforms, sanitizers)
11//! - `bridge` — The Bridge implementation that handles all chrome.* API calls
12//! - `state` — Simulated extension state (tabs, cookies, storage, alarms)
13//! - `bootstrap` — JavaScript bootstrap code that creates the chrome.* namespace
14
15pub mod bootstrap;
16pub mod bridge;
17pub mod manifest;
18pub mod profile;
19pub mod state;
20
21pub use bridge::ChromeExtBridge;
22pub use manifest::Manifest;
23pub use profile::AnalysisProfile;