Re: ubsan built-in function types

2021-07-05 Thread Richard Biener via Gcc
On Fri, Jul 2, 2021 at 6:33 PM Martin Sebor via Gcc wrote: > > Most sanitizer built-in argument types are all of pointer types. > For example: > >BUILT_IN_UBSAN_HANDLE_SHIFT_OUT_OF_BOUNDS > as >BT_FN_VOID_PTR_PTR_PTR > > or > >BUILT_IN_UBSAN_HANDLE_VLA_BOUND_NOT_POSITIVE > as >BT_F

ubsan built-in function types

2021-07-02 Thread Martin Sebor via Gcc
Most sanitizer built-in argument types are all of pointer types. For example: BUILT_IN_UBSAN_HANDLE_SHIFT_OUT_OF_BOUNDS as BT_FN_VOID_PTR_PTR_PTR or BUILT_IN_UBSAN_HANDLE_VLA_BOUND_NOT_POSITIVE as BT_FN_VOID_PTR_PTR. But some calls to these functions are made with some arguments of int