On 1/20/21 11:50 PM, Roger Phillips wrote:
Would it be possible to replicate the sancov functionality on gcc just through
special trace functions?
I guess yes.
Please take a look at examples mentioned here:
https://clang.llvm.org/docs/SanitizerCoverage.html#tracing-pcs-with-guards
Martin
Would it be possible to replicate the sancov functionality on gcc just through
special trace functions?
From: Martin Liška
Sent: Wednesday, January 20, 2021 11:40 AM
To: Roger Phillips ; gcc@gcc.gnu.org
Cc: weixi@antfin.com
Subject: Re: SanitizerCoverage
On 1/19/21 12:11 PM, Roger Phillips wrote:
Does any of these two modes allow me to generate sancov files on function
level? My intent is to record program flow, then visualize the diff between the
runs. Most examples I see use edge,bb,func modes so I'm not sure trace-pc and
trace-pc-cmp are en
for sancov.
Regards
From: Martin Liška
Sent: Tuesday, January 19, 2021 10:23 AM
To: Roger Phillips ; gcc@gcc.gnu.org
Subject: Re: SanitizerCoverage support
On 1/19/21 10:07 AM, Roger Phillips via Gcc wrote:
> Greetings,
>
> can you tell me if support of SanitizerCover
nough.
From: Martin Liška
Sent: Tuesday, January 19, 2021 10:40 AM
To: Roger Phillips ; gcc@gcc.gnu.org
Subject: Re: SanitizerCoverage support
On 1/19/21 11:33 AM, Roger Phillips wrote:
> Excellent! Since which version is this available?
Hello.
The option -fsanitize-coverage=trace-pc is a
*Sent:* Tuesday, January 19, 2021 10:23 AM
*To:* Roger Phillips ; gcc@gcc.gnu.org
*Subject:* Re: SanitizerCoverage support
On 1/19/21 10:07 AM, Roger Phillips via Gcc wrote:
Greetings,
can you tell me if support of SanitizerCoverage is planned for gcc in
Excellent! Since which version is this available?
From: Martin Liška
Sent: Tuesday, January 19, 2021 10:23 AM
To: Roger Phillips ; gcc@gcc.gnu.org
Subject: Re: SanitizerCoverage support
On 1/19/21 10:07 AM, Roger Phillips via Gcc wrote:
> Greetings,
>
>
On 1/19/21 10:07 AM, Roger Phillips via Gcc wrote:
Greetings,
can you tell me if support of SanitizerCoverage is planned for gcc in the
foreseeable future?
Regards
Hello.
We do support it, please see 'man gcc':
-fsanitize-coverage=trace-pc
-fsanitize-coverage=trace-cmp
Martin
Greetings,
can you tell me if support of SanitizerCoverage is planned for gcc in the
foreseeable future?
Regards