Commit 3ca3c6ef by Jakub Jelinek Committed by Jakub Jelinek

re PR sanitizer/81902 (new -fsanitize=pointer-overflow option undocumented)

	PR sanitizer/81902
	* doc/invoke.texi: Document -fsanitize=pointer-overflow.

From-SVN: r251596
parent 349884d1
2017-09-01 Jakub Jelinek <jakub@redhat.com> 2017-09-01 Jakub Jelinek <jakub@redhat.com>
PR sanitizer/81902
* doc/invoke.texi: Document -fsanitize=pointer-overflow.
PR sanitizer/81923 PR sanitizer/81923
* asan.c (create_odr_indicator): Strip name encoding from assembler * asan.c (create_odr_indicator): Strip name encoding from assembler
name before appending it after __odr_asan_. name before appending it after __odr_asan_.
......
...@@ -11074,6 +11074,12 @@ This option enables instrumentation of C++ member function calls, member ...@@ -11074,6 +11074,12 @@ This option enables instrumentation of C++ member function calls, member
accesses and some conversions between pointers to base and derived classes, accesses and some conversions between pointers to base and derived classes,
to verify the referenced object has the correct dynamic type. to verify the referenced object has the correct dynamic type.
@item -fsanitize=pointer-overflow
@opindex fsanitize=pointer-overflow
This option enables instrumentation of pointer arithmetics. If the pointer
arithmetics overflows, a run-time error is issued.
@end table @end table
While @option{-ftrapv} causes traps for signed overflows to be emitted, While @option{-ftrapv} causes traps for signed overflows to be emitted,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment