A system for dynamically collecting a webassembly running context under a browser environment and a method of using the same
By designing a dynamic collection system for the runtime context of Wasm in a browser environment, the shortcomings of existing technologies in capturing the state of Wasm's interaction with JS are solved, enabling full-process monitoring of Wasm memory operations and improving the accuracy and comprehensiveness of vulnerability detection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- PEKING UNIV
- Filing Date
- 2026-02-11
- Publication Date
- 2026-05-29
AI Technical Summary
Existing technologies struggle to synchronously capture the interaction between WebAssembly and JavaScript along the browser's actual execution path, and lack effective monitoring of wasm memory operations, resulting in incomplete and inaccurate vulnerability analysis.
Design a dynamic collection system for the runtime context of Web Application Memory (WASM) in a browser environment, including extension initialization, Web SM binary rewriting, and full instrumentation. Through instrumentation and rewriting techniques, it achieves comprehensive monitoring of Web SM memory operations and recording of runtime status. Combined with shadow memory and metadata maintenance, it realizes end-to-end awareness of cross-language interaction.
It enables complete state capture of the interaction process between the wasm program and JS in the browser environment, improving the accuracy and comprehensiveness of vulnerability detection and providing reliable data support.
Smart Images

Figure CN122111792A_ABST