# 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 ## Parameters 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 corrupted node is displayed. ## Example Run **memcheck**. ## Output **Figure 1** No out-of-bounds memory access ![](figure/no-out-of-bounds-memory-access.png "no-out-of-bounds-memory-access") **Figure 2** Out-of-bounds memory access ![](figure/out-of-bounds-memory-access.png "out-of-bounds-memory-access")