From: Vincent R. <vin...@wi...> - 2005-02-08 13:35:11
|
Hello, Hans-Bernhard Broeker wrote: [...] > That might well be because by doing so, you removed the default > optimization level of '-O2'. I would think that CFLAGS="-g -O2" will > produce result closer to the unmodified build. Indeed. Note that I was also able to reproduce the problem with "-g -02". So far, the CFLAGS="-g" was unable to crash the program even with the same setup (generating the base, crash, recompiling with "-g", no crash). As for the flex scanner modifications, my question was about where we look for function calls. It seems we look for them in the database in "function-typed" tags whereas we could look for them within "global-symbols" tags. The corresponding function is findcalledby() in find.c. We could add a case GLOBALDEF to the search function. This would remove the need to tweak the C function declaration pattern/regexp. What do you think about that? Vincent -- Reclaim Your Inbox! http://internal.vannes.wrsec.fr/twiki/bin/view/Utilities/MailThunderbird |