However, allocators should provide some means for detecting corruption due to overwriting memory, multiple frees, and so on.
尽管如此,分配器应该提供一些方法探测由于改写内存,多次释放等等这样的错误导致的内存混乱。
Similarly, all accesses to arrays and strings are checked at run-time to ensure that they are in bounds, eliminating the possibility of overwriting memory and corrupting data.
类似地,所有对字符串和数组的访问在运行时被检查来确保他们没有越界,消除越界导致的内存重写和数据损坏的问题。
Similarly, all accesses to arrays and strings are checked at run-time to ensure that they are in bounds, eliminating the possibility of overwriting memory and corrupting data.
类似地,所有对字符串和数组的访问在运行时被检查来确保他们没有越界,消除越界导致的内存重写和数据损坏的问题。
应用推荐