This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
For example, gdb has function that in the past could return null, but which now cannot. So, I'd like to find all places where the return result is checked.
Or, gdb has a TRY_CATCH macro which expands to a couple of nested loops. It is not ok to 'return' or 'goto' from inside the inner loop, as this causes hard-to-find bugs. So, it would be nice to find any place that tries this.
Or, there is a data type in gdb that used to be freed using 'xfree', but which now requires a special function to be called instead. So, it would be nice to find any place where xfree is passed an argument of this type.
MELT looks extremely cool! You may want to use this too, however:
http://lwn.net/Articles/315686/
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |