1 Star 0 Fork 5K

aaron / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
memcheck.md 1.31 KB
一键复制 编辑 原始数据 按行查看 历史
NEEN 提交于 2021-03-12 17:59 . !197 Docs Update version 1.0.1

memcheck

Command Function

This command is used to check whether the dynamically requested memory block is complete and whether nodes in the memory pool are damaged due to out-of-bounds memory access.

Syntax

memcheck

Parameter Description

None

Usage

  • If all nodes in the memory pool are complete, "system memcheck over, all passed!" is displayed.
  • If a node in the memory pool is incomplete, information about the memory block of the damaged node is displayed.

Example

Enter memcheck.

Output

Figure 1 No out-of-bounds memory access

Figure 2 Out-of-bounds memory access

1
https://gitee.com/mibo_com/docs.git
git@gitee.com:mibo_com/docs.git
mibo_com
docs
docs
master

搜索帮助