1# memcheck<a name="EN-US_TOPIC_0000001134006252"></a> 2 3- [Command Function](#section191633812516) 4- [Syntax](#section428816435510) 5- [Parameters](#section1939943304411) 6- [Usage](#section228914491951) 7- [Example](#section17373205314515) 8- [Output](#section13406205385413) 9 10## Command Function<a name="section191633812516"></a> 11 12This 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. 13 14## Syntax<a name="section428816435510"></a> 15 16memcheck 17 18## Parameters<a name="section1939943304411"></a> 19 20None 21 22## Usage<a name="section228914491951"></a> 23 24- If all nodes in the memory pool are complete, "system memcheck over, all passed!" is displayed. 25- If a node in the memory pool is incomplete, information about the memory block of the corrupted node is displayed. 26 27## Example<a name="section17373205314515"></a> 28 29Run **memcheck**. 30 31## Output<a name="section13406205385413"></a> 32 33**Figure 1** No out-of-bounds memory access<a name="fig1115313610438"></a> 34 35 36**Figure 2** Out-of-bounds memory access<a name="fig6414131084419"></a> 37 38 39