This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, MPX wrappers 2/3] Replace some function calls with wrapper calls during instrumentation
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Ilya Enkovich <enkovich dot gnu at gmail dot com>
- Cc: Jeff Law <law at redhat dot com>, <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 18 Nov 2014 16:23:48 +0000
- Subject: Re: [PATCH, MPX wrappers 2/3] Replace some function calls with wrapper calls during instrumentation
- Authentication-results: sourceware.org; auth=none
- References: <20141114172932 dot GB20207 at msticlxl57 dot ims dot intel dot com> <5466FDC1 dot 6000806 at redhat dot com> <20141118151007 dot GA47331 at msticlxl57 dot ims dot intel dot com>
On Tue, 18 Nov 2014, Ilya Enkovich wrote:
> +@item -fcheck-pointer-bounds
> +@opindex fcheck-pointer-bounds
> +@opindex fno-check-pointer-bounds
> +Enable Pointer Bounds Checker instrumentation. Each memory reference
> +is instrumented with checks of pointer used for memory access against
> +bounds associated with that pointer. Generated instrumentation may
> +be controlled by various @option{-fchkp-*} options.
If this is only operational given -mmpx and when the generated code is run
on a processor supporting MPX, I think the documentation needs to make
that clear.
> +@item -fchkp-use-fast-string-functions
> +@opindex fchkp-use-fast-string-functions
> +@opindex fno-chkp-use-fast-string-functions
> +Allow to use *_nobnd versions of string functions (not copying bounds)
> +by Pointer Bounds Checker. Disabled by default.
@code{*_nobnd}.
> +@item -fchkp-use-nochk-string-functions
> +@opindex fchkp-use-nochk-string-functions
> +@opindex fno-chkp-use-nochk-string-functions
> +Allow to use *_nochk versions of string functions (not checking bounds)
> +by Pointer Bounds Checker. Disabled by default.
@code{*_nochk).
> +@item -fchkp-instrument-marked-only
> +@opindex fchkp-instrument-marked-only
> +@opindex fno-chkp-instrument-marked-only
> +Instructs Pointer Bounds Checker to instrument only functions
> +marked with bnd_instrument attribute. Disabled by default.
@code{bnd_instrument}.
> +@item -fchkp-use-wrappers
> +@opindex fchkp-use-wrappers
> +@opindex fno-chkp-use-wrappers
> +Allows Pointer Bounds Checker to replace calls to builtin function
> +with calls to wrapper functions. Enabled by default.
"built-in functions".
--
Joseph S. Myers
joseph@codesourcery.com