|detect hardcodings in C/C++ email@example.com (2004-08-25)|
|Re: detect hardcodings in C/C++ firstname.lastname@example.org (2004-09-03)|
|Date:||25 Aug 2004 14:54:45 -0400|
|Keywords:||lex, C, comment|
|Posted-Date:||25 Aug 2004 14:54:45 EDT|
I wish to scan C/C++ code and detect any hard coded statements in it,
like the '1000' in:
or the '10' in:
int i = 10;
I don't have the slighest idea about how to do it. (I have never
worked with compiler stuff)
Any idea what options I have?
[You could practically do that with grep, with a prepass to get rid
of the comments. -John]
Return to the
Search the comp.compilers archives again.