ascendc-mssanitizer

Official

Memory safety analysis for AscendC operators.

AuthorAscend
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides automated memory-safety analysis for Ascend C operators, generating detailed reports that help identify illegal memory accesses, illegal frees, memory leaks, and UB issues.

Core Features & Use Cases

  • Memory safety checks using mssanitizer across host, AscendCL, and device layers.
  • Dual-mode operation: Python mode for custom operators and GE IR/C++ mode for OPS repos; auto-detection of mode.
  • Generates structured reports and parseable logs to guide fixes.
  • Trigger keywords: mssanitizer, memory safety, memory error, illegal access, memory leak.

Quick Start

Run the mssanitizer workflow on your Ascend C operator project to produce memory-analysis reports.

Dependency Matrix

Required Modules

torchtorch_npu

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ascendc-mssanitizer
Download link: https://github.com/Ascend/agent-skills/archive/main.zip#ascendc-mssanitizer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.