This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/63245] renderMemorySnippet shouldn't show more bytes than the underlying type


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63245

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I think it shows some bytes also before and after the region.
Perhaps it can do that with the exception when there is a page boundary in the
region before the access or after it, or perhaps it can do so without extra
overhead in that case, otherwise look at /proc/self/maps to see if it can
access those bytes, or use mincore syscall first, etc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]