[asan] Turn “-mllvm -asan-detect-invalid-pointer-pair” into a driver option?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[asan] Turn “-mllvm -asan-detect-invalid-pointer-pair” into a driver option?

David Blaikie via cfe-dev

Before looking into proposing a patch, I want to ask if there is already a plan for turning -asan-detect-invalid-pointer-pair into a driver option?

Is it still considered an experimental feature?

Should we use the same name as gcc 8? ie -fsanitize=pointer-substract and -fsanitize=pointer-compare?

“-fsanitize=” accepts up to 64 values and has reached its maximum capacity it seems?

Is there any sanitizer that can be removed or should we look at extending its capacity?

Many thanks!


_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: [asan] Turn “-mllvm -asan-detect-invalid-pointer-pair” into a driver option?

David Blaikie via cfe-dev
On Fri, Jan 11, 2019 at 8:01 PM Pierre Gousseau via cfe-dev
<[hidden email]> wrote:
>
> Before looking into proposing a patch, I want to ask if there is already a plan for turning -asan-detect-invalid-pointer-pair into a driver option?
>
> Is it still considered an experimental feature?
>
> Should we use the same name as gcc 8? ie -fsanitize=pointer-substract and -fsanitize=pointer-compare?

> “-fsanitize=” accepts up to 64 values and has reached its maximum capacity it seems?
Yes, but that should be fixable though, but i admit i have not looked
into that yet, sadly.
(that's https://bugs.llvm.org/show_bug.cgi?id=39425)

> Is there any sanitizer that can be removed or should we look at extending its capacity?
>
> Many thanks!
Roman.

> _______________________________________________
> cfe-dev mailing list
> [hidden email]
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev