![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
DeBug
文章平均质量分 54
一些常见的bug
海螺蜜
这个作者很懒,什么都没留下…
展开
-
数组越界问题(C++)
错误信息:Line 1034: Char 34: runtime error: addition of unsigned offset to 0x603000000040 overflowed to 0x60300000003c (stl_vector.h)SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /usr/bin/…/lib/gcc/x86_64-linux-gnu/9/…/…/…/…/include/c++/9/bits/stl_原创 2022-06-26 09:56:30 · 1169 阅读 · 0 评论 -
链表错误:AddressSanitizer: heap-use-after-free on address
ERROR: AddressSanitizer: heap-use-after-free on address 0x603000000258 at pc 0x00000037c6f5 bp 0x7ffea5071f90 sp 0x7ffea5071f88READ of size 8 at 0x603000000258 thread T0#3 0x7f3fea5be082 (/lib/x86_64-linux-gnu/libc.so.6+0x24082)0x603000000258 is locate原创 2022-06-23 17:38:12 · 3264 阅读 · 1 评论