diff --git a/includes/memhub.vp b/includes/memhub.vp index a3b9dcd..2d94ac0 100644 --- a/includes/memhub.vp +++ b/includes/memhub.vp @@ -890,6 +890,14 @@ class MemBuddy(MemManager): bv3: t.CUInt8T = (t.CUInt8T | t.CPtr)(t.CVoid(p + t.CUInt64T(bi3), t.CPtr))[0] stdio.printf("%02X ", t.CUInt32T(bv3)) bi3 += 1 + # 越界区(ptr+size 起 24 字节):0x00=被写穿 0xCD=未写 其它=写入值, + # 用于判断写入者写多长、往哪个方向 + stdio.printf("越界区: ") + bj3: t.CInt = 0 + while bj3 < 24: + bvj: t.CUInt8T = (t.CUInt8T | t.CPtr)(t.CVoid(p + s + t.CUInt64T(bj3), t.CPtr))[0] + stdio.printf("%02X ", t.CUInt32T(bvj)) + bj3 += 1 stdio.printf("\n") stdlib.exit(1) i += 1