MindStudio Ops Common
✨ What's New
🔹 [2025.12.31]: The MindStudio Ops Common project is now fully open source
️ ℹ️ Introduction
MindStudio Ops Common (msOpCom) is a basic component of Ascend AI operator tools. For Ascend products, it modifies the runtime environment in development and debugging scenarios to support "implicit" behavior injection.
⚙️ Features
msOpCom provides a unified hooking capability for operator tools, enabling features such as stub function injection and API hooking. This applies only to dynamic instrumentation. Static instrumentation is handled by individual components themselves.
| Function | Description |
|---|---|
| Native API management | Provides unified management of native APIs for hooking targets. |
| Injection function management | As a unified common plugin, provides registration, configuration, and lifecycle management for injection (decoration) functions. |
| API hooking and communication control | Provides centralized management of hooked APIs for specific tools, and supports communication control mechanisms between injected functions. |
| Submodule Compilation Support | Supports specific tools referencing this repository as a submodule to complete binary compilation, and enables independent compilation of injection modules for specific tools. |
📦 Installation Guide
Describes the environment dependencies and how to install msOpCom. For details, see MindStudio Ops Common Development Environment Setup, Compilation, and Unit Testing.
📘 Usage Guide
msOpCom is a common component and does not have independent functionality. It cannot be used independently. For details, see related tools such as msSanitizer or msOpProf.
💡 Typical Cases
msOpCom is a common component and does not have independent functionality. It does not have functional cases. For details, see related tools such as msSanitizer or msOpProf.
🛠️ Contribution Guide
Welcome to contribute to the project. For details, see the Contribution Guide.
⚖️ Related Statements
🔹 License Statement
🔹 Security Statement
🔹 Disclaimer
🤝 Suggestions and Communication
You are welcome to contribute to the community. If you have any questions or suggestions, please submit an Issue. We will respond as soon as possible. Thank you for your support.
🙏 Acknowledgments
This tool is jointly contributed by the following departments of Huawei:
🔹 Ascend Computing MindStudio Development Dept
🔹 Ascend Computing Ecosystem Enablement Dept
🔹 Ascend AI Cloud Service
🔹 2012 Compiler Lab
🔹 2012 Markov Lab
Thanks for every PR from the community. Contributions are welcome.
