C++ Crash Explainer for LeetCode 作者: Khushi Sharma
Translates technical C++ AddressSanitizer (ASan) and UBSan crash reports on LeetCode into structured, plain English explanations.
扫码在 Android 版 Firefox 中打开此扩展
扩展元数据
关于此扩展
C++ Crash Explainer helps students and competitive programmers understand cryptic C++ runtime errors on LeetCode.
Whenever a program crashes on LeetCode, compiler diagnostic systems like AddressSanitizer (ASan) or UndefinedBehaviorSanitizer (UBSan) print long, low-level technical reports referencing internal standard library files (such as Line 1122 in stl_vector.h) and wrapped hex addresses.
This extension parses runtime errors in real time directly inside the LeetCode editor and opens a slide-out explanation drawer providing:
• Plain-English diagnosis of the root cause
• The exact source line number in your solution (ignoring internal STL headers)
• Clear, actionable debugging steps to fix your code
Supported Error Categories:
• Heap Buffer Overflow (AddressSanitizer off-by-one errors)
• Negative Index / Pointer Underflow (UBSan)
• Division by Zero / Modulo by Zero (SIGFPE)
• Index Out of Range (std::out_of_range from .at() bounds checks)
• Empty Vector Dereference (0x0 reference binding)
• Memory Limit Exceeded (MLE / std::bad_alloc)
• Heap Use-After-Free & Stack Buffer Overflows
Whenever a program crashes on LeetCode, compiler diagnostic systems like AddressSanitizer (ASan) or UndefinedBehaviorSanitizer (UBSan) print long, low-level technical reports referencing internal standard library files (such as Line 1122 in stl_vector.h) and wrapped hex addresses.
This extension parses runtime errors in real time directly inside the LeetCode editor and opens a slide-out explanation drawer providing:
• Plain-English diagnosis of the root cause
• The exact source line number in your solution (ignoring internal STL headers)
• Clear, actionable debugging steps to fix your code
Supported Error Categories:
• Heap Buffer Overflow (AddressSanitizer off-by-one errors)
• Negative Index / Pointer Underflow (UBSan)
• Division by Zero / Modulo by Zero (SIGFPE)
• Index Out of Range (std::out_of_range from .at() bounds checks)
• Empty Vector Dereference (0x0 reference binding)
• Memory Limit Exceeded (MLE / std::bad_alloc)
• Heap Use-After-Free & Stack Buffer Overflows
评分 0(1 位用户)
权限与数据
更多信息