This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How to instrument at source code level?
"胡鹏飞" <hpfei.cn@gmail.com> writes:
> First, I'm a real beginner at gcc, so I hope my question is not so foolish.
> I have used bounds checking patch and find it pretty good though it
> can't deal with dangle pointer. The problem is my company doesn't use
> GCC in it's every product.
> It seems bounds checking mainly instrument at tree. If I want to use
> bounds checking on other compiler, I must instrument at source code
> level. I wonder if there have
> been some functions which can convert tree back to source. I expect your help.
Interesting idea, but, no, gcc does not support that. It is very
unlikely that support for that will ever be added.
Note that the mailing list gcc@gcc.gnu.org is for gcc developers.
Please send questions about using gcc to gcc-help@gcc.gnu.org.
Thanks.
Ian