]> andersk Git - splint.git/commitdiff
Renamed lclintMacros.nf splintMacros.nf
authorevans1629 <evans1629>
Sun, 6 Jan 2002 19:37:48 +0000 (19:37 +0000)
committerevans1629 <evans1629>
Sun, 6 Jan 2002 19:37:48 +0000 (19:37 +0000)
Replaced remaining "lclint" names with "splint"

209 files changed:
BUFFERCHECKING [deleted file]
LICENSE
README
src/Headers/constants.h
src/Headers/cprim.h
src/Headers/llerror.h
src/Headers/rangeTable.h [deleted file]
src/Headers/source.h [deleted file]
src/Headers/splintMacros.nf [moved from src/Headers/lclintMacros.nf with 100% similarity]
src/Headers/version.h
src/Makefile.am
src/Makefile.in
src/abstract.c
src/aliasTable.c
src/annotationInfo.c
src/annotationTable.c
src/cgrammar.c.der
src/cgrammar.y
src/checking.c
src/clabstract.c
src/clause.c
src/clauseStack.c
src/constraint.c
src/constraintExpr.c
src/constraintExprData.c
src/constraintGeneration.c
src/constraintList.c
src/constraintOutput.c
src/constraintResolve.c
src/constraintTerm.c
src/context.c
src/cpperror.c
src/cppexp.c
src/cpphash.c
src/cpplib.c
src/cppmain.c
src/cprim.c
src/cscanner.l
src/cstring.c
src/cstringList.c
src/cstringSList.c
src/cstringTable.c
src/ctbase.i
src/cttable.i
src/ctype.c
src/ctypeList.c
src/cvar.c
src/declaratorInvNodeList.c
src/declaratorNodeList.c
src/dummy.c [deleted file]
src/ekind.c
src/enumNameList.c
src/enumNameSList.c
src/exprChecks.c
src/exprData.c
src/exprNode.c
src/exprNodeList.c
src/exprNodeSList.c
src/fcnNodeList.c
src/fileIdList.c
src/fileLib.c
src/fileTable.c
src/fileloc.c
src/filelocList.c
src/filelocStack.c
src/flagMarker.c
src/flagMarkerList.c
src/flagSpec.c
src/flags.c
src/functionClause.c
src/functionClauseList.c
src/functionConstraint.c
src/general.c
src/genericTable.c
src/globSet.c
src/globals.c
src/globalsClause.c
src/guardSet.c
src/hashTable.c
src/idDecl.c
src/idDeclList.c
src/importNodeList.c
src/imports.c
src/initDeclNodeList.c
src/inputStream.c
src/intSet.c
src/interfaceNodeList.c
src/lclctypes.c
src/lclinit.c
src/lclint.lcd
src/lcllib.c
src/lclscan.c
src/lclscanline.c
src/lclsyntable.c
src/lcltokentable.c
src/letDeclNodeList.c
src/lh.c
src/llerror.c
src/llgrammar.c.der
src/llgrammar.y
src/llmain.c
src/lltok.c
src/loopHeuristics.c
src/lslOpList.c
src/lslOpSet.c
src/lslinit.c
src/lslparse.c
src/lsymbol.c
src/lsymbolList.c
src/lsymbolSet.c
src/ltoken.c
src/ltokenList.c
src/macrocache.c
src/mapping.c
src/message.c
src/messageLog.c
src/metaStateConstraint.c
src/metaStateConstraintList.c
src/metaStateExpression.c
src/metaStateInfo.c
src/metaStateSpecifier.c
src/metaStateTable.c
src/modifiesClause.c
src/mtAnnotationDecl.c
src/mtAnnotationList.c
src/mtAnnotationsNode.c
src/mtContextNode.c
src/mtDeclarationNode.c
src/mtDeclarationPiece.c
src/mtDeclarationPieces.c
src/mtDefaultsDecl.c
src/mtDefaultsDeclList.c
src/mtDefaultsNode.c
src/mtLoseReference.c
src/mtLoseReferenceList.c
src/mtMergeClause.c
src/mtMergeClauseList.c
src/mtMergeItem.c
src/mtMergeNode.c
src/mtTransferAction.c
src/mtTransferClause.c
src/mtTransferClauseList.c
src/mtValuesNode.c
src/mtgrammar.c
src/mtgrammar.c.der
src/mtgrammar.y
src/mtreader.c
src/mtscanner.c
src/mttok.c
src/multiVal.c
src/nameChecks.c
src/osd.c
src/pairNodeList.c
src/paramNodeList.c
src/programNodeList.c
src/qtype.c
src/qual.c
src/qualList.c
src/quantifierNodeList.c
src/randomNumbers.c
src/rangeTable.c [deleted file]
src/reader.c
src/replaceNodeList.c
src/sRef.c
src/sRefList.c
src/sRefSet.c
src/sRefSetList.c
src/sRefTable.c
src/scan.c
src/scanline.c
src/shift.c
src/sigNodeSet.c
src/signature.c.der
src/signature.y
src/sort.c
src/sortList.c
src/sortSet.c
src/sortSetList.c
src/source.c [deleted file]
src/stDeclNodeList.c
src/stateClause.c
src/stateClauseList.c
src/stateCombinationTable.c
src/stateInfo.c
src/stateValue.c
src/storeRefNodeList.c
src/structNames.c
src/symtable.c
src/syntable.c
src/termNodeList.c
src/tokentable.c
src/traitRefNodeList.c
src/transferChecks.c
src/typeIdSet.c
src/typeNameNodeList.c
src/uentry.c
src/uentryList.c
src/usymIdSet.c
src/usymtab.c
src/usymtab_interface.c
src/valueTable.c
src/varDeclarationNodeList.c
src/varKinds.c
src/varNodeList.c
src/warnClause.c
src/ynm.c
test/lintcomments.expect
test/printflike.expect
test/tests2.2.expect

diff --git a/BUFFERCHECKING b/BUFFERCHECKING
deleted file mode 100644 (file)
index f390074..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-                       Buffer Overflow Checking
-                           David Larochelle
-                            15 August 2001
-
-
-This is a preliminary guide to the buffer overflow checking in LCLint
-Version 3.0.  This alpha version contains additional checking not
-documented in the manual for LCLint 2.5.
-
-Although this document provides a quick introduction for the new
-features of LCLint it is not intended as a substitute for the LCLint
-manual.  We recommend that users unfamiliar with LCLint consult the
-LCLint user guides in addition to this document.
-
-The types of errors which LCLint reports can be controlled flags.
-Theses flags can be set on the commands line or in .lclintrc files.  A
-flags by giving LCLint the +flagname option on the command line or in a
-.lclintrc file where flagname is the name of the flag.  Similarly flags
-are unset with -flagname.
-
-Overview
-========
-
-LCLint detects buffer overflow errors by generating precondition and
-postcondition constraints at the expression level.  We resolve
-constraints using post conditions from previous statements.  We generate
-an error message for any constraints which we are unable to resolve at
-the top of a function.
-
-All checking takes place within functions.  Interprocedural properties
-are checked using annotations.  Annotated versions of the standard
-libraries are provided innerally.
-
-The new annotations allow programmers to explicitly state function
-preconditions and postconditions using requires and ensures clauses.  We
-can use these clauses to describe assumptions about buffers that are
-passed to functions and constrain the state of buffers when functions
-return.  For the analyses described here two kinds of assumptions and
-constraints are used: maxSet, and maxRead.
-
-When used in a requires clause, the maxSet annotation describes
-assumptions about the lowest and highest indices of a buffer that may be
-safely used as an lvalue (e.g., on the left-hand side of an assignment).
-For example, consider a function with an array parameter a and an
-integer parameter i that has a precondition requires maxSet(a) >= i.
-The analysis assumes that at the beginning of the function body, a[i]
-may be used as an lvalue.  If a[i+1] were used before any modifications
-to the value of a or i, LCLint would generate a warning since the
-function preconditions are not sufficient to guarantee that a[i+1] can
-be used safely as an lvalue.  Arrays in C start with index 0, so the
-declaration char buf[MAXSIZE] generates the constraints maxSet(buf) =
-MAXSIZE - 1 and minSet(buf) = 0.  Similarly, the maxRead constraint
-indicates the maximum indices of a buffer that may be read safely.  The
-value of maxRead for a given buffer is always less than or equal to the
-value of maxSet.  In cases where there are elements of the buffer have
-not yet been initialized, the value of maxRead may be lower than the
-value of maxSet.
-
-Checking is controlled by the following flags.  If the arraybounds flag
-is set LCLint will report potential array bounds.  THIS FLAG MUST BE SET
-IN ORDER FOR BUFFER OVERFLOW ERRORS TO BE REPORTED.  There are a number
-of additional options which can be used to fine tune checking.
-
-If the +arrayboundsread is set LCLint will report cases in which an
-index past the end of an array or buffer is read.  The default is to
-only report cases in which data is written.  Out of bounds reads are
-less dangerous than out of bounds writes but are still security
-problems.
-
-The following are used to fine tune the checking.  If the
-constraintlocation flag is set LCLint will include the expression which
-causes LCLint to generate the unresolved constraint in an error message.
-We recommend this options.  The orconstraint is used to perform slightly
-more accurate checking by using disjuction internally.  The performance
-cost is minimal so we recommend this option.
-
-Handling spurious messages
-==========================
-
-LCLint will occasionally report spurious error messages.  If you see an
-error message that you believe to be incorrect first see if you can
-correct the problem by adding additional precondition annotations.  For
-function with no preconditions LCLint assumes that the function is safe
-under all conditions.  Also consider rewriting the code.  Code that is
-hard for LCLint to understand is often hard was humans to understand as
-well.  You may want to improve the readability and clarity is the code.
-
-If you are sure that the message is spurious you can suppress the
-message.  Adding the /*@i@*/ annotation to a line causes LCLint to
-suppers all errors generated by the line.  Flags can also be set and
-unset within a program.  /*@-flagname@*/ sets a flag to
-false. /*@+flagname@*/ sets a flag to true and /*@=flagname@*/ returns a
-flag to its previous state.
-
-For example /*@-arroundboundsread@*/ str2[i] = str[i];
-/*@=arroundboundsread@*/ would suppress error involving out of bounds
-reads for the code fragment.
-
-Frequently Asked Questions
-==========================
-
-I have a function with many buffer overflows but LCLint only reports one
-error?
-
-LCLint tries to avoid printing redundant error messages.  We don't print
-two constraints if satifying one constraint would satisify another.
-
-LCLint crashes or complains about a bug?
-
-Please report the problem to lclint-bug@cs.virginia.edu
-
-Where can I find more information about LCLint?
-
-The LCLint web site http://lclint.cs.virginia.edu contains a lot of
-useful documentation, including a paper describing the LCLint extensions
-for buffer overflow checking.  The lclint web site also contains
-information on lclint mailing lists.
-
-
-
-
-
-
diff --git a/LICENSE b/LICENSE
index c6b3ba1b9023a1660686c4ca40190e8b2e9276e3..581403c6f6b43e4109a99a3710468d4f3505c352 100644 (file)
--- a/LICENSE
+++ b/LICENSE
@@ -19,8 +19,8 @@ The GNU General Public License is attached to this file and available
 from http://www.gnu.org/ or the Free Software Foundation, Inc., 59
 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-For information on lclint: lclint-request@cs.virginia.edu
-To report a bug: lclint-bug@cs.virginia.edu
+For information on Splint: splint@cs.virginia.edu
+To report a bug: splint-bug@cs.virginia.edu
 
 ==============================================================================
                    GNU GENERAL PUBLIC LICENSE
diff --git a/README b/README
index 608139806499e95dd24d20806a585f0043e74854..bf55c54fdd0b152052202f34bd7ffe0b3e147896 100644 (file)
--- a/README
+++ b/README
@@ -5,9 +5,8 @@
                        University of Virginia,
                 Massachusetts Institute of Technology
                 
-                           Version 3.0.0.20
-                            Alpha Release
-                           30 December 2001
+                            Version 3.0.1
+                            7 January 2001
 
 Splint Documentation
 ====================
@@ -61,10 +60,10 @@ the derived grammar files.  This is not recommended however.
 
    LARCH_PATH - path to search for splint libraries and
    initializations files. If you are using the standard directories, this
-   should be .:<base-directory>/splint-3.0.0.20/lib.
+   should be .:<base-directory>/splint-<version>/lib.
 
    LCLIMPORTDIR - directory containing lcl imports files. If you are using
-   the standard directories, this is <base-directory>/splint-3.0.0.20/imports.
+   the standard directories, this is <base-directory>/splint-<version>/imports.
 
    Put the commands to set these variables (the actual commands will depend
    on the shell you are using) in one of your initialization dotfiles
index 8e882f4dec08b0d255368fb94e66a18697505b69..a46adbabb7387940b7d3d7a4c75895945bc5f2ab 100644 (file)
@@ -8,7 +8,7 @@
 */
 
 /*
- * This is constants.h from Mike Smith's Win32 port of lclint.
+ * This is constants.h from Mike Smith's Win32 port of splint.
  * Modified by Herbert 04/19/97:
  * added conditional 'OS2' to conditional 'MSDOS'
  */
 ** Minimum version with compatible libraries.
 */
 
-/*@constant float LCLINT_LIBVERSION; @*/
-# define LCLINT_LIBVERSION 2.6
+/*@constant float SPLINT_LIBVERSION; @*/
+# define SPLINT_LIBVERSION 2.6
 
 /*
 ** Flex doesn't pre-process input, so remember to copy these manually
index 6ac9a71585d2bb1468821ef686233a98460f78b6..a0eb0d82a8bca53520477536e2760a19852de0fa 100644 (file)
@@ -43,7 +43,7 @@ extern bool cprim_isAnyChar (/*@sef@*/ cprim p_c);
 
 /*
 ** only a few combiniations of type qualifiers and base types are
-** recognized in the ANSI standard.  LCLint treats these as distinct
+** recognized in the ANSI standard.  Splint treats these as distinct
 ** types.
 */
 
index d6773c7e2199d01050473f728fb6a407d65d200f..f9e5f707d5202f94441ad742e7d0c7b5a753cc48 100644 (file)
@@ -54,7 +54,7 @@ extern /*@noreturnwhenfalse@*/ void llassertfatal (/*@sef@*/ bool p_test);
        } while (FALSE)
 
 /*
-** llassertprint and llassertprintret are in lclintMacros.nf
+** llassertprint and llassertprintret are in splintMacros.nf
 */
 
 extern void llmsg (/*@only@*/ cstring p_s) /*@modifies g_msgstream@*/ ;
diff --git a/src/Headers/rangeTable.h b/src/Headers/rangeTable.h
deleted file mode 100644 (file)
index c46e307..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-/*
-** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2000.
-** See ../LICENSE for license information.
-**
-*/
-/*
-** rangeTable.h
-*/
-
-# ifndef rangeTable_H
-# define rangeTable_H
-
-typedef /*@only@*/ sRefSet o_sRefSet;
-typedef /*@exposed@*/ sRef e_sRef;
-typedef struct rangeAt_ {
-  int max;
-  int min;
-} * rangeAt;
-
-struct _environmentTable
-{
-  int nelements
-  int nspace;
-  /*@reldef@*/ /*@only@*/ e_sRef * keys;
-  /*@reldef@*/ /*@only@*/ o_sRefSet * values;
-  /*@reldef@*/ /*@only@*/ rangeAt * rangeValues;
-
-}
-
-extern rangeAt_ getRange (key);
-extern boolean inRange (int, range);
-
-extern void setMinium (key, min);
-extern void setMaximum (key, min);
-
-struct _rangeTable
-{
-  int nelements;
-  int nspace;
-  /*@reldef@*/ /*@only@*/ e_sRef *keys;
-  /*@reldef@*/ /*@only@*/ o_sRefSet *values;
-/*@reldef@*/ /*@only@*/ rangeAt *ranges;
-    
-} ; 
-
-extern /*@unused@*/ /*@nullwhentrue@*/ bool rangeTable_isUndefined (rangeTable p_s);
-extern /*@unused@*/ /*@nullwhentrue@*/ bool 
-  rangeTable_isEmpty (/*@sef@*/ rangeTable p_s);
-extern /*@falsewhennull@*/ bool rangeTable_isDefined (rangeTable p_s);
-
-/*@constant null rangeTable rangeTable_undefined; @*/
-# define rangeTable_undefined      ((rangeTable) NULL)
-# define rangeTable_isDefined(s)   ((s) != rangeTable_undefined)
-# define rangeTable_isUndefined(s) ((s) == rangeTable_undefined)
-# define rangeTable_isEmpty(s)     (rangeTable_size(s) == 0)
-
-extern int rangeTable_size (/*@sef@*/ rangeTable p_s);
-# define rangeTable_size(s)  (rangeTable_isDefined (s) ? (s)->nelements : 0)
-
-/*@iter rangeTable_elements (sef rangeTable t, yield exposed sRef key, yield exposed sRefSet values); @*/
-# define rangeTable_elements(t, m_key, m_value) \
-   { if (rangeTable_isDefined (t)) \
-     { int m_ind; sRef *m_keys = &((t)->keys[0]); \
-       sRefSet *m_values = &((t)->values[0]); \
-       for (m_ind = 0 ; m_ind < (t)->nelements; m_ind++) \
-         { sRef m_key = *(m_keys++); sRefSet m_value = *(m_values++);
-
-# define end_rangeTable_elements }}}
-
-extern rangeTable rangeTable_new (void) /*@*/ ;
-
-extern void rangeTable_clearRangees (rangeTable p_s, sRef p_sr) 
-   /*@modifies p_s, p_sr@*/ ;
-
-extern /*@only@*/ sRefSet rangeTable_canRange (rangeTable p_s, sRef p_sr) /*@*/ ;
-extern rangeTable rangeTable_copy (rangeTable p_s) /*@*/ ;
-extern /*@only@*/ cstring rangeTable_unparse (rangeTable p_s) /*@*/ ;
-extern void rangeTable_free (/*@only@*/ rangeTable p_s) ;
-
-extern rangeTable 
-  rangeTable_addMustRange (/*@returned@*/ rangeTable p_s, /*@exposed@*/ sRef p_sr, sRef p_al)
-  /*@modifies p_s@*/ ;
-
-extern rangeTable
-  rangeTable_levelUnion (/*@returned@*/ rangeTable p_t1, rangeTable p_t2, int p_level) 
-  /*@modifies p_t1@*/ ;
-
-extern rangeTable 
-  rangeTable_levelUnionNew (rangeTable p_t1, rangeTable p_t2, int p_level) 
-  /*@modifies nothing*/ ;
-
-extern void rangeTable_checkGlobs (rangeTable p_t) /*@modifies g_msgstream@*/ ;
-extern /*@only@*/ sRefSet rangeTable_rangeedBy (rangeTable p_s, sRef p_sr) /*@*/ ;
-extern void rangeTable_fixSrefs (rangeTable p_s);
-extern rangeTable rangeTable_levelUnionSeq (/*@returned@*/ rangeTable p_t1, 
-                                           /*@only@*/ rangeTable p_t2, int p_level);
-
-/*@constant int rangeTableBASESIZE; @*/
-# define rangeTableBASESIZE MIDBASESIZE
-
-# else
-# error "Multiple include"
-# endif
-
-
-
-
diff --git a/src/Headers/source.h b/src/Headers/source.h
deleted file mode 100644 (file)
index d422db8..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
-** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2000.
-** See ../LICENSE for license information.
-*/
-/*
-** source.h
-*/
-
-# ifndef TSOURCE_H
-# define TSOURCE_H
-
-/*@constant int STUBMAXRECORDSIZE; @*/
-# define STUBMAXRECORDSIZE 800
-
-typedef struct {
-    char       *name;
-    /*@dependent@*/ /*@null@*/ FILE *file;
-    char        buffer[STUBMAXRECORDSIZE+1];
-    unsigned int lineNo;
-    bool        echo, fromString;
-    /*@owned@*/ /*@null@*/ char *stringSource;
-    /*@null@*/ /*@dependent@*/ char *stringSourceTail;
-} tsource; /* renamed from "source" to avoid cc parse bug on lex.yy.c */
-
-extern void tsource_free (/*@null@*/ /*@only@*/ tsource *p_s);
-extern bool tsource_close (tsource *p_s) 
-   /*@modifies *p_s, fileSystem@*/ ; 
-extern tsource *
-  tsource_create (/*@temp@*/ char *p_name, char *p_suffix, bool p_echo) /*@*/ ;
-extern tsource *tsource_fromString (char *p_name, char *p_str) /*@*/ ;
-extern /*@dependent@*/ /*@null@*/ char *tsource_nextLine(tsource *p_s) 
-   /*@modifies *p_s@*/ ;
-extern bool tsource_open (tsource *p_s) /*@modifies p_s, fileSystem@*/ ;
-extern bool tsource_getPath (char *p_path, tsource *p_s)
-   /*@modifies *p_s@*/ ;
-
-# ifndef NOLCL
-extern /*@observer@*/ char *tsource_fileName (tsource *p_s) /*@*/ ;
-# define tsource_fileName(pS) ((pS)->name)
-
-extern bool tsource_isOpen (/*@sef@*/ tsource *p_s) /*@*/ ;
-# define tsource_isOpen(pS)  ((pS)->file != 0 || (pS)->fromString)
-
-extern unsigned int tsource_thisLineNumber(tsource *p_s) /*@*/ ;
-# define tsource_thisLineNumber(pS)    ((pS)->lineNo)
-
-extern char *specFullName (char *p_specfile, /*@out@*/ char **p_inpath) 
-   /*@modifies *p_inpath@*/ ;
-
-# endif
-
-# else
-# error "Multiple include"
-# endif
-
-
-
-
-
index ff60553b1595074d66b6605c859a7fcbf1311a5e..9f5096df44a2ec78b791300a53d1f9ba34c2ac2c 100644 (file)
@@ -9,8 +9,8 @@
 # ifndef VERSION_H
 # define VERSION_H
 
-/*@constant observer char *LCLINT_MAINTAINER; @*/
-# define LCLINT_MAINTAINER "lclint-bug@cs.virginia.edu"
+/*@constant observer char *SPLINT_MAINTAINER; @*/
+# define SPLINT_MAINTAINER "splint-bug@cs.virginia.edu"
 
 /*@constant observer char *CPP_VERSION;@*/
 # define CPP_VERSION "cygnus-2.7.2-970404"
index bad7f0534fcb78f105e45129682a43e5fb12350a..6543b660f7430385a2d453982d494c89a6998cc3 100644 (file)
@@ -315,7 +315,8 @@ Headers/mtgrammar_tokens.h mtgrammar.c: mtgrammar.y
        @if test x$(BISON) = xno; then \
          $(CP) mtgrammar.c.der mtgrammar.c; \
        else \
-         echo '* Making mygrammar.c'; \
+         echo '* Making mtgrammar.c'; \
+         echo '* Expect 11 shift/reduce conflicts.'; \
          $(BISON) $(YFLAGS) -p mt mtgrammar.y; \
          $(CAT) bison.head mtgrammar.tab.c bison.reset >mtgrammar.c; \
          $(CP) mtgrammar.c mtgrammar.c.der; \
@@ -384,6 +385,11 @@ lintbuffercheck:
 
 
 all: splint$(EXEEXT)
+
+up: 
+       -rm cgrammar.c llgrammar.c mtgrammar.c signature.c cscanner.c
+       $(MAKE) clean
+
 CLEANFILES = splint$(EXEEXT)
 
 .c.o:
index ad6573f52d404f11380234efe023c16ee1a55b1e..864439a21e70f63e62589682c0927115ae56912b 100644 (file)
@@ -353,6 +353,7 @@ BUILT_SOURCES = Headers/signature_gen.h Headers/cgrammar_tokens.h \
 
 
 CHECKS = $(subst .c,.check,$(splint_SOURCES))
+
 CLEANFILES = splint$(EXEEXT)
 subdir = src
 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
@@ -993,7 +994,8 @@ Headers/mtgrammar_tokens.h mtgrammar.c: mtgrammar.y
        @if test x$(BISON) = xno; then \
          $(CP) mtgrammar.c.der mtgrammar.c; \
        else \
-         echo '* Making mygrammar.c'; \
+         echo '* Making mtgrammar.c'; \
+         echo '* Expect 11 shift/reduce conflicts.'; \
          $(BISON) $(YFLAGS) -p mt mtgrammar.y; \
          $(CAT) bison.head mtgrammar.tab.c bison.reset >mtgrammar.c; \
          $(CP) mtgrammar.c mtgrammar.c.der; \
@@ -1054,6 +1056,10 @@ lintbuffercheck:
 
 all: splint$(EXEEXT)
 
+up: 
+       -rm cgrammar.c llgrammar.c mtgrammar.c signature.c cscanner.c
+       $(MAKE) clean
+
 .c.o:
        @echo "Compiling "$<"..."; \
        source='$<' object='$@' libtool=no \
index 98549db6c6a801d11b760194b3506a5a6b2950c3..7f55b8d593bf6fb51b4ab56de7eabdf7b4388a4a 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -34,7 +34,7 @@
 **         Massachusetts Institute of Technology
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "lslparse.h"
 # include "llgrammar.h"        /* need simpleOp, MULOP and logicalOp in makeInfixTermNode */
@@ -237,7 +237,7 @@ void LCLBuiltins (void)
   ti->modifiable = FALSE;
   ti->abstract = TRUE;
   ti->basedOn = sort_bool;
-  ti->export = FALSE; /* this wasn't set (detected by lclint) */
+  ti->export = FALSE; /* this wasn't set (detected by Splint) */
   symtable_enterType (g_symtab, ti);
   
   /* do "constant bool FALSE = false;" */
@@ -487,7 +487,7 @@ interfaceNode_makePrivFcn (/*@only@*/ fcnNode x)
   privateNode e = (privateNode) dmalloc (sizeof (*e));
 
   /*
-  ** bug detected by lclint enum checking
+  ** bug detected by enum checking
   ** e->kind = XPK_FCN;
   */
 
@@ -3690,7 +3690,7 @@ makeQuantifiedTermNode (quantifierNodeList qn, ltoken open,
   termNode n = (termNode) dmalloc (sizeof (*n));
   quantifiedTermNode q = (quantifiedTermNode) dmalloc (sizeof (*q));
 
-  n->name = NULL; /*> missing this --- detected by lclint <*/
+  n->name = NULL; /*> missing this --- detected by splint <*/
   n->error_reported = FALSE;
   n->wrapped = 0;
   n->error_reported = FALSE;
@@ -5806,7 +5806,7 @@ nameNode nameNode_copySafe (nameNode n)
     }
   else
     {
-      /* error should be detected by lclint: forgot to copy opform! */
+      /* error should be detected by splint: forgot to copy opform! */
       return (makeNameNodeForm (opFormNode_copy (n->content.opform)));
     }
 }
index 82bf80b56181cd91fd21a7ce61f57ef8eae34cba..f7eb7ca18c4137ae86ef35f7502ac85c05c05dd5 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** aliasTable.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 /*@constant int ATINVALID; @*/
index bb6c75d9254068082398e5ceb10008a941dc7f4d..c60e39754beb4007a7f10cb64b25b48cb859c1ea 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** annotationInfo.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 annotationInfo annotationInfo_create (cstring name,
index 53b475a834dbd729ee166b36bc32549471832785..7e54dac65e42ec40bfab3670c98dddab4f33e18e 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -26,7 +26,7 @@
 ** Based on genericTable.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "randomNumbers.h"
 
index dd9f47ab49a4ad5fdb67baa48bba90eb0b490810..8ad6414bf6e31b9ad70a7588a8d47fb0eb97880e 100644 (file)
 **
 ** cgrammar.y
 **
-** Yacc/Bison grammar for extended ANSI C used by LCLint.
+** Yacc/Bison grammar for extended ANSI C used by Splint.
 **
 ** original grammar by Nate Osgood ---
 **    hacrat@catfish.lcs.mit.edu Mon Jun 14 13:06:32 1993
 **
-** changes for LCLint --- handle typedef names correctly
+** changes for Splint --- handle typedef names correctly
 ** fix struct/union parsing bug (empty struct is accepted)
 ** add productions to handle macros --- require
 ** error correction --- main source of conflicts in grammar.
@@ -275,7 +275,7 @@ extern int yylex ();
 extern void swallowMacro (void);
 extern void yyerror (char *);
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "cscanner.h"
 # include "cgrammar.h"
@@ -707,74 +707,74 @@ static const short yyrhs[] = {    -1,
 
 #if YYDEBUG != 0
 static const short yyrline[] = { 0,
-   318,   319,   322,   323,   326,   327,   328,   329,   330,   331,
-   332,   335,   337,   341,   341,   348,   354,   358,   359,   363,
-   364,   366,   368,   380,   383,   393,   396,   404,   405,   407,
-   409,   425,   428,   436,   439,   447,   449,   449,   453,   454,
-   455,   456,   459,   462,   466,   466,   469,   469,   474,   475,
-   478,   483,   484,   487,   492,   493,   496,   497,   498,   501,
-   502,   503,   508,   509,   512,   514,   516,   518,   527,   529,
-   531,   533,   549,   553,   554,   561,   562,   570,   572,   576,
-   577,   578,   579,   580,   581,   584,   585,   586,   587,   588,
-   589,   592,   595,   596,   603,   606,   609,   615,   623,   625,
-   629,   632,   633,   636,   639,   645,   649,   650,   653,   656,
-   657,   660,   661,   662,   665,   666,   667,   668,   669,   672,
-   673,   674,   675,   676,   679,   680,   683,   689,   693,   695,
-   699,   700,   702,   709,   719,   720,   723,   724,   725,   726,
-   727,   728,   729,   730,   734,   735,   739,   740,   743,   745,
-   747,   748,   749,   750,   751,   753,   757,   758,   761,   765,
-   777,   778,   779,   780,   781,   782,   785,   786,   787,   788,
-   789,   790,   791,   792,   793,   796,   797,   800,   801,   802,
-   803,   804,   805,   806,   807,   808,   809,   810,   813,   814,
-   817,   821,   822,   825,   826,   827,   828,   831,   832,   836,
-   837,   838,   839,   842,   843,   844,   847,   848,   849,   852,
-   853,   854,   855,   856,   859,   860,   861,   864,   865,   868,
-   869,   873,   874,   877,   878,   883,   889,   890,   896,   902,
-   903,   903,   905,   908,   909,   910,   911,   912,   913,   914,
-   915,   916,   917,   918,   919,   922,   923,   926,   927,   930,
-   935,   936,   937,   940,   954,   959,   965,   967,   973,   978,
-   978,   982,   983,   985,   986,   989,   992,   995,   998,   999,
-  1002,  1003,  1006,  1007,  1008,  1012,  1014,  1023,  1024,  1025,
-  1026,  1027,  1029,  1033,  1036,  1042,  1051,  1054,  1057,  1064,
-  1071,  1077,  1102,  1103,  1106,  1107,  1108,  1109,  1110,  1113,
-  1114,  1115,  1116,  1119,  1120,  1121,  1122,  1123,  1124,  1125,
-  1126,  1127,  1128,  1129,  1130,  1131,  1132,  1133,  1134,  1135,
-  1139,  1140,  1143,  1144,  1147,  1148,  1151,  1152,  1153,  1154,
-  1157,  1158,  1159,  1160,  1161,  1162,  1165,  1166,  1167,  1168,
-  1171,  1172,  1173,  1174,  1177,  1178,  1179,  1180,  1181,  1182,
-  1183,  1184,  1185,  1186,  1187,  1194,  1195,  1196,  1197,  1198,
-  1199,  1200,  1201,  1202,  1203,  1204,  1205,  1206,  1207,  1210,
-  1214,  1215,  1219,  1220,  1224,  1225,  1226,  1229,  1230,  1233,
-  1235,  1237,  1238,  1240,  1242,  1243,  1245,  1247,  1249,  1251,
-  1252,  1253,  1256,  1257,  1259,  1261,  1262,  1265,  1268,  1269,
-  1270,  1273,  1275,  1279,  1281,  1285,  1286,  1287,  1291,  1293,
-  1293,  1295,  1298,  1300,  1302,  1305,  1310,  1317,  1318,  1319,
-  1326,  1330,  1331,  1335,  1336,  1339,  1340,  1343,  1344,  1347,
-  1348,  1349,  1350,  1353,  1354,  1357,  1358,  1361,  1362,  1363,
-  1366,  1366,  1367,  1368,  1371,  1383,  1399,  1400,  1403,  1404,
-  1405,  1408,  1409,  1412,  1414,  1415,  1417,  1418,  1420,  1422,
-  1424,  1426,  1432,  1433,  1434,  1435,  1436,  1437,  1438,  1439,
-  1440,  1455,  1458,  1461,  1462,  1466,  1468,  1470,  1472,  1476,
-  1477,  1479,  1483,  1485,  1487,  1490,  1491,  1492,  1493,  1494,
-  1495,  1496,  1497,  1498,  1499,  1500,  1501,  1502,  1505,  1506,
-  1511,  1514,  1517,  1518,  1521,  1522,  1523,  1524,  1525,  1526,
-  1527,  1528,  1529,  1530,  1531,  1534,  1535,  1542,  1543,  1549,
-  1550,  1551,  1552,  1555,  1556,  1557,  1558,  1561,  1562,  1566,
-  1569,  1572,  1575,  1578,  1581,  1584,  1585,  1586,  1587,  1589,
-  1590,  1592,  1594,  1600,  1604,  1606,  1608,  1610,  1614,  1615,
-  1618,  1619,  1622,  1623,  1626,  1627,  1630,  1631,  1632,  1635,
-  1648,  1653,  1654,  1658,  1659,  1662,  1667,  1670,  1671,  1672,
-  1680,  1681,  1681,  1685,  1686,  1687,  1698,  1705,  1706,  1709,
-  1710,  1713,  1714,  1715,  1716,  1717,  1719,  1720,  1721,  1722,
-  1725,  1726,  1727,  1728,  1729,  1730,  1731,  1732,  1733,  1734,
-  1737,  1738,  1741,  1742,  1743,  1744,  1747,  1748,  1749,  1752,
-  1753,  1754,  1757,  1758,  1759,  1760,  1761,  1764,  1765,  1766,
-  1769,  1770,  1773,  1774,  1778,  1779,  1782,  1783,  1786,  1787,
-  1790,  1791,  1792,  1793,  1796,  1797,  1798,  1799,  1800,  1801,
-  1802,  1803,  1804,  1805,  1806,  1807,  1810,  1811,  1814,  1817,
-  1819,  1821,  1825,  1826,  1828,  1830,  1833,  1834,  1835,  1837,
-  1838,  1839,  1840,  1841,  1842,  1843,  1846,  1847,  1850,  1853,
-  1854,  1855,  1856,  1857,  1860,  1861
+   317,   318,   321,   322,   325,   326,   327,   328,   329,   330,
+   331,   334,   336,   340,   340,   347,   353,   357,   358,   362,
+   363,   365,   367,   379,   382,   392,   395,   403,   404,   406,
+   408,   424,   427,   435,   438,   446,   448,   448,   452,   453,
+   454,   455,   458,   461,   465,   465,   468,   468,   473,   474,
+   477,   482,   483,   486,   491,   492,   495,   496,   497,   500,
+   501,   502,   507,   508,   511,   513,   515,   517,   526,   528,
+   530,   532,   548,   552,   553,   560,   561,   569,   571,   575,
+   576,   577,   578,   579,   580,   583,   584,   585,   586,   587,
+   588,   591,   594,   595,   602,   605,   608,   614,   622,   624,
+   628,   631,   632,   635,   638,   644,   648,   649,   652,   655,
+   656,   659,   660,   661,   664,   665,   666,   667,   668,   671,
+   672,   673,   674,   675,   678,   679,   682,   688,   692,   694,
+   698,   699,   701,   708,   718,   719,   722,   723,   724,   725,
+   726,   727,   728,   729,   733,   734,   738,   739,   742,   744,
+   746,   747,   748,   749,   750,   752,   756,   757,   760,   764,
+   776,   777,   778,   779,   780,   781,   784,   785,   786,   787,
+   788,   789,   790,   791,   792,   795,   796,   799,   800,   801,
+   802,   803,   804,   805,   806,   807,   808,   809,   812,   813,
+   816,   820,   821,   824,   825,   826,   827,   830,   831,   835,
+   836,   837,   838,   841,   842,   843,   846,   847,   848,   851,
+   852,   853,   854,   855,   858,   859,   860,   863,   864,   867,
+   868,   872,   873,   876,   877,   882,   888,   889,   895,   901,
+   902,   902,   904,   907,   908,   909,   910,   911,   912,   913,
+   914,   915,   916,   917,   918,   921,   922,   925,   926,   929,
+   934,   935,   936,   939,   953,   958,   964,   966,   972,   977,
+   977,   981,   982,   984,   985,   988,   991,   994,   997,   998,
+  1001,  1002,  1005,  1006,  1007,  1011,  1013,  1022,  1023,  1024,
+  1025,  1026,  1028,  1032,  1035,  1041,  1050,  1053,  1056,  1063,
+  1070,  1076,  1101,  1102,  1105,  1106,  1107,  1108,  1109,  1112,
+  1113,  1114,  1115,  1118,  1119,  1120,  1121,  1122,  1123,  1124,
+  1125,  1126,  1127,  1128,  1129,  1130,  1131,  1132,  1133,  1134,
+  1138,  1139,  1142,  1143,  1146,  1147,  1150,  1151,  1152,  1153,
+  1156,  1157,  1158,  1159,  1160,  1161,  1164,  1165,  1166,  1167,
+  1170,  1171,  1172,  1173,  1176,  1177,  1178,  1179,  1180,  1181,
+  1182,  1183,  1184,  1185,  1186,  1193,  1194,  1195,  1196,  1197,
+  1198,  1199,  1200,  1201,  1202,  1203,  1204,  1205,  1206,  1209,
+  1213,  1214,  1218,  1219,  1223,  1224,  1225,  1228,  1229,  1232,
+  1234,  1236,  1237,  1239,  1241,  1242,  1244,  1246,  1248,  1250,
+  1251,  1252,  1255,  1256,  1258,  1260,  1261,  1264,  1267,  1268,
+  1269,  1272,  1274,  1278,  1280,  1284,  1285,  1286,  1290,  1292,
+  1292,  1294,  1297,  1299,  1301,  1304,  1309,  1316,  1317,  1318,
+  1325,  1329,  1330,  1334,  1335,  1338,  1339,  1342,  1343,  1346,
+  1347,  1348,  1349,  1352,  1353,  1356,  1357,  1360,  1361,  1362,
+  1365,  1365,  1366,  1367,  1370,  1382,  1398,  1399,  1402,  1403,
+  1404,  1407,  1408,  1411,  1413,  1414,  1416,  1417,  1419,  1421,
+  1423,  1425,  1431,  1432,  1433,  1434,  1435,  1436,  1437,  1438,
+  1439,  1442,  1445,  1448,  1449,  1453,  1455,  1457,  1459,  1463,
+  1464,  1466,  1470,  1472,  1474,  1477,  1478,  1479,  1480,  1481,
+  1482,  1483,  1484,  1485,  1486,  1487,  1488,  1489,  1492,  1493,
+  1498,  1501,  1504,  1505,  1508,  1509,  1510,  1511,  1512,  1513,
+  1514,  1515,  1516,  1517,  1518,  1521,  1522,  1529,  1530,  1536,
+  1537,  1538,  1539,  1542,  1543,  1544,  1545,  1548,  1549,  1553,
+  1556,  1559,  1562,  1565,  1568,  1571,  1572,  1573,  1574,  1576,
+  1577,  1579,  1581,  1587,  1591,  1593,  1595,  1597,  1601,  1602,
+  1605,  1606,  1609,  1610,  1613,  1614,  1617,  1618,  1619,  1622,
+  1635,  1640,  1641,  1645,  1646,  1649,  1654,  1657,  1658,  1659,
+  1667,  1668,  1668,  1672,  1673,  1674,  1685,  1692,  1693,  1696,
+  1697,  1700,  1701,  1702,  1703,  1704,  1706,  1707,  1708,  1709,
+  1712,  1713,  1714,  1715,  1716,  1717,  1718,  1719,  1720,  1721,
+  1724,  1725,  1728,  1729,  1730,  1731,  1734,  1735,  1736,  1739,
+  1740,  1741,  1744,  1745,  1746,  1747,  1748,  1751,  1752,  1753,
+  1756,  1757,  1760,  1761,  1765,  1766,  1769,  1770,  1773,  1774,
+  1777,  1778,  1779,  1780,  1783,  1784,  1785,  1786,  1787,  1788,
+  1789,  1790,  1791,  1792,  1793,  1794,  1797,  1798,  1801,  1804,
+  1806,  1808,  1812,  1813,  1815,  1817,  1820,  1821,  1822,  1824,
+  1825,  1826,  1827,  1828,  1829,  1830,  1833,  1834,  1837,  1840,
+  1841,  1842,  1843,  1844,  1847,  1848
 };
 #endif
 
index d2f428b523681e16f11836655cf793fa1b922b18..eb78741b4536f67d33f004e4c7a5e6b0fa7b4664 100644 (file)
@@ -1,6 +1,6 @@
 /*;-*-C-*-;
 ** Splint - annotation-assisted static program checker
-** Copyright (C) 1994-2001 University of Virginia,
+** Copyright (C) 1994-2002 University of Virginia,
 **         Massachusetts Institute of Technology
 **
 ** This program is free software; you can redistribute it and/or modify it
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 %{
 **
 ** cgrammar.y
 **
-** Yacc/Bison grammar for extended ANSI C used by LCLint.
+** Yacc/Bison grammar for extended ANSI C used by Splint.
 **
 ** original grammar by Nate Osgood ---
 **    hacrat@catfish.lcs.mit.edu Mon Jun 14 13:06:32 1993
 **
-** changes for LCLint --- handle typedef names correctly
+** changes for Splint --- handle typedef names correctly
 ** fix struct/union parsing bug (empty struct is accepted)
 ** add productions to handle macros --- require
 ** error correction --- main source of conflicts in grammar.
@@ -50,7 +50,7 @@ extern int yylex ();
 extern void swallowMacro (void);
 extern void yyerror (char *);
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "cscanner.h"
 # include "cgrammar.h"
@@ -161,7 +161,7 @@ extern void yyerror (char *);
 %token <tok> QUNDEF QKILLED
 %token <tok> QENDMACRO
 
-/* additional tokens introduced by lclint pre-processor. */
+/* additional tokens introduced by splint pre-processor. */
 %token <tok> LLMACRO LLMACROITER LLMACROEND TENDMACRO
 
 /* break comments: */
@@ -308,7 +308,6 @@ extern void yyerror (char *);
 %type <tquallist> optGlobQuals
 %type <qtyp> completeType completeTypeSpecifier optCompleteType
 %type <qtyp> completeTypeSpecifierAux altType typeExpression 
-/*%type <expr> lclintassertion*/
 
 %start file
 
@@ -1438,18 +1437,6 @@ stmt
  | iterationStmt 
  | iterStmt
  | jumpStmt 
-/* | lclintassertion {$$ = $1; printf ("Doing stmt lclintassertion\n"); }*/
-
-/*
-lclintassertion
- : QSETBUFFERSIZE id CCONSTANT QENDMACRO { printf(" QSETBUFFERSIZE id CCONSTANT HEllo World\n");  uentry_setBufferSize($2, $3); $$ = exprNode_createTok ($4);
-  }
- | QSETSTRINGLENGTH id CCONSTANT QENDMACRO { printf(" QSETSTRINGLENGTH id CCONSTANT HEllo World\n");  uentry_setStringLength($2, $3); $$ = exprNode_createTok ($4);
-  }
- | QTESTINRANGE id CCONSTANT QENDMACRO {printf(" QTESTINRANGE\n");  uentry_testInRange($2, $3); $$ = exprNode_createTok ($4);
-  }
-
-/* | QSETBUFFERSIZE id id  {$$ = $2; printf(" QSETBUFFERSIZE id id HEllo World\n");} */
 
 iterBody
  : iterDefStmtList { $$ = $1; }
index 5c82a44be7987e7740814b1a30137810b75c2cb6..a75595f3094474599a7c227201d45b3b84048166 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /* 
@@ -31,7 +31,7 @@
 **         Massachusetts Institute of Technology
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "llgrammar.h"
 # include "checking.h"
index 8f2fa20e2574a04508d9c6f39e3c3c0b7fb15998..e804f35d27cdd7d33b41f4985f8ec8c883b9bfd6 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -28,7 +28,7 @@
 **
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "cgrammar.h"
 
@@ -1077,7 +1077,7 @@ fixUentryList (idDeclList tl, qtype q)
 ** Microsoft VC++.  It is not supported by the ANSI standard.  
 **
 ** The inner fields are added to the outer structure.  This is meaningful
-** for nesting structs inside unions, but lclint does no related 
+** for nesting structs inside unions, but Splint does no related 
 ** checking.
 */
 
@@ -2069,11 +2069,11 @@ sRef checkStateClausesId (uentry ue)
     {
       voptgenerror 
        (FLG_COMMENTERROR,
-        message ("Global variable %s used special clause.  (Global variables "
-                 "are not recognized in special clauses.  If there is "
+        message ("Global variable %s used state clause.  (Global variables "
+                 "are not recognized in state clauses.  If there is "
                  "sufficient interest in support for this, it may be "
                  "added to a future release.  Send mail to "
-                 "lclint@cs.virginia.edu.)",
+                 "splint@cs.virginia.edu.)",
                  s),
         g_currentloc);
       
@@ -2251,7 +2251,7 @@ sRef fixStateClausesId (cstring s)
                          "are not recognized in function clauses.  If there is "
                          "sufficient interest in support for this, it may be "
                          "added to a future release.  Send mail to "
-                         "lclint@cs.virginia.edu.)",
+                         "splint@cs.virginia.edu.)",
                          s), 
                 g_currentloc);
              
index f65db3d855e1ebd4453f35576f9607660d8677cd..5e54ae505c34ca0d496998043b846ec2989c1d59 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** clause.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 cstring
index 8c721c7916a77e866965df96db281315a07b18a3..a34b0a978d17649577f624de0b8eab307093e3b8 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 clauseStack
index 66ca75c5b79958a48e684fdd1aa3d017b5dcbd90..a2ff50fbe2316395485acf6db87891098f4c7bb5 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 
@@ -29,7 +29,7 @@
 /* #define DEBUGPRINT 1 */
 
 # include <ctype.h> /* for isdigit */
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "cgrammar.h"
 # include "cgrammar_tokens.h"
index 8ea3ded16582cda1ff5ee8df1d9de75a4f52583f..5dded48a628b17b278b68e93825eb4b13936ec3e 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 
@@ -28,7 +28,7 @@
 
 /* #define DEBUGPRINT 1 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "cgrammar.h"
 # include "cgrammar_tokens.h"
index 69ed4a3ad3ad691275df9586647a3ebf7212a3ec..a7fdce6a6d1b591a2d346c7612cccf4eaf6202eb 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 
@@ -26,7 +26,7 @@
 ** constraintExprData.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "cgrammar.h"
 # include "cgrammar_tokens.h"
index 71947b6086c8fb5360e98d2d8721046e8e4a694f..c28817291abd8ff52b420a02cc654224f56c77a9 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 
@@ -29,7 +29,7 @@
 /* #define DEBUGPRINT 1 */
 
 # include <ctype.h> /* for isdigit */
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 # include "cgrammar_tokens.h"
@@ -1110,7 +1110,7 @@ static void exprNode_booleanTraverse (/*@dependent@*/ exprNode e, /*@unused@*/ b
       tempList = constraintList_logicalOr (tempList, t1->falseEnsuresConstraints);
       constraintList_free (temp);
       
-      /* evans - was constraintList_addList - memory leak detected by lclint */
+      /* evans - was constraintList_addList - memory leak detected by splint */
       e->falseEnsuresConstraints = constraintList_addListFree (e->falseEnsuresConstraints, tempList);
     }
   else if (lltok_isOr_Op (tok) )
index ac1a26f767b1d21ecc895b38b9213d9ced753057..e7e8b1d91d2ce4d1802a81af9e6b0f1fce7328ca 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 
@@ -30,7 +30,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 
index 7dfa1fdf33080971eab902e6ac4ef63237da3f93..a80267686e623bcc8cb7773622da27dee810d490 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 
@@ -26,7 +26,7 @@
 ** constraintOutput.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "portab.h"
 
index 9af334b7874a99fbfd457022a7028084c96ec206..e2f1dc1a7de61f1ac2026959dcaa72f910cf3e07 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 
@@ -30,7 +30,7 @@
 /* #define DEBUGPRINT 1 */
 
 # include <ctype.h> /* for isdigit */
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "cgrammar.h"
 # include "cgrammar_tokens.h"
index fd197853403d12c5b5e9d92ac5e5b881b3b043d3..b2337f02a64b4ab2cb95614a6c92c0b74ef2de35 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 
@@ -29,7 +29,7 @@
 /* #define DEBUGPRINT 1 */
 
 # include <ctype.h> /* for isdigit */
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "cgrammar.h"
 # include "cgrammar_tokens.h"
index f1a8bd7efba912a80a079575dcd2e38871aea948..f34542740d7f29ac12ea1fec5bdf8059dccf6a65 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -33,7 +33,7 @@
  *   or, if not set "." will be used.
  */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 # ifndef NOLCL
index e0bfeb8f7726b0dcd27b74448348d45482562d5e..725af102a6b496765e47a5dbbdf2a56a66debd73 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -83,7 +83,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 # define FATAL_EXIT_CODE EXIT_FAILURE
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "cpplib.h"
 # include "cpperror.h"
index 65a0a6949fc71c0a8f09a4067d93b435120187f7..835c71a2054f5c0a9ef5c51b25be0d7d9f6071d1 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -56,7 +56,7 @@ Written by Per Bothner 1994.  */
 /*@+matchanyintegral@*/
 
 # include <string.h> 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "cpplib.h"
 # include "cpphash.h"
index 4a7b9e268efcb32ccbd94ff6b4b85de2a838f551..8850def6fd729c447a122644d359730119a68ed1 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -51,7 +51,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  You are forbidden to forbid anyone else to use, share and improve
  what you give them.   Help stamp out software-hoarding!  */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include <string.h>
 # include "cpplib.h"
@@ -213,7 +213,7 @@ static void hashNode_delete (/*@only@*/ /*@null@*/ hashNode node)
              **    From: "N.Komazaki" <koma@focs.sei.co.jp>
              */
 
-             /*! why doesn't lclint report an error for this? */
+             /*! why doesn't splint report an error for this? */
              nd->args.argnames = mstring_createEmpty ();
            }
        } 
index d85cf81044d4359dedd3ffb0c64d6c612254b730..2c15062b7df465ff56561c244c282dca920e11bf 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -92,7 +92,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 /* This defines "errno" properly for VMS, and gives us EACCES.  */
 # include <errno.h>
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "lcllib.h"
 # include "cpplib.h"
@@ -3641,7 +3641,7 @@ cpplib_installBuiltinType (/*@observer@*/ char *name, ctype ctyp,
                           /*@only@*/ /*@null@*/ char *value, int hash)
 {
   cstring sname = cstring_fromChars (name);
-  /* evs 2000 07 10 - removed a memory leak, detected by lclint */
+  /* evs 2000 07 10 - removed a memory leak, detected by splint */
 
   llassert (usymtab_inGlobalScope ());
 
index 117685968f69bd69f9b038bf021af06b0de807b0..1ebcc1b82212f6edbe43a72f88cf6804e165039b 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -46,7 +46,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  You are forbidden to forbid anyone else to use, share and improve
  what you give them.   Help stamp out software-hoarding!  */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "cpplib.h"
 # include "cpphash.h"
index 8b1583262ea005b7c86ba9560864d0612fce1a5d..e86325b2264762ee2908eaaf4464aa5b82c6205e 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** cprim.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 static bool cprim_isReal (cprim c)
index 360ba2941b15a351dcb1eda088762cbd0cc40327..0a7f38374a4029e85a656408ebaaaf76a076536b 100644 (file)
@@ -1,6 +1,6 @@
 /*;-*-C-*-; 
 ** Splint - annotation-assisted static program checker
-** Copyright (C) 1994-2001 University of Virginia,
+** Copyright (C) 1994-2002 University of Virginia,
 **         Massachusetts Institute of Technology
 **
 ** This program is free software; you can redistribute it and/or modify it
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -36,7 +36,7 @@
 /*
 ** Modified by Mike Smith 
 ** Corrected missing 'line' in scanf() calls in handleSpecial().
-** Without this, I get an error when LCLint hits a '#line' directive
+** Without this, I get an error when Splint hits a '#line' directive
 ** in the pre-pre-processed source files. For safety, I have made these
 ** conditional on OS2 and MSDOS because I don't understand why noone else
 ** has seen this problem.
@@ -64,7 +64,7 @@ IS                    (u|U|l|L)*
 ULSuffix                ({U}{L}|{L}{U})
 
 %{
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # if defined(OS2) && defined(__IBMC__)
    /* needed for isatty()... */
 # include <io.h>
@@ -776,9 +776,8 @@ static int tokenMacroCode (cstring s)
              voptgenerror
                (FLG_WARNLINTCOMMENTS,
                 cstring_makeLiteral
-                ("Traditional lint comment /*FALLTHROUGH*/ used.  "
-                 "This is interpreted by "
-                 "LCLint in the same way as most Unix lints, but it is "
+                ("Traditional lint comment /*FALLTHROUGH*/ used. "
+                 "Splint interprets this in the same way as most Unix lints, but it is "
                  "preferable to replace it with the /*@fallthrough@*/ "
                  "semantic comment"),
                 g_currentloc);
@@ -789,9 +788,8 @@ static int tokenMacroCode (cstring s)
              voptgenerror 
                (FLG_WARNLINTCOMMENTS,
                 cstring_makeLiteral
-                ("Traditional lint comment /*FALLTHRU*/ used.  "
-                 "This is interpreted by "
-                 "LCLint in the same way as most Unix lints, but it is "
+                ("Traditional lint comment /*FALLTHRU*/ used. "
+                 "Splint interprets this in the same way as most Unix lints, but it is "
                  "preferable to replace it with the /*@fallthrough@*/ "
                  "semantic comment"),
                 g_currentloc);
@@ -802,9 +800,8 @@ static int tokenMacroCode (cstring s)
              voptgenerror 
                (FLG_WARNLINTCOMMENTS,
                 cstring_makeLiteral
-                ("Traditional lint comment /*NOTREACHED*/ used.  "
-                 "This is interpreted by "
-                 "LCLint in the same way as most Unix lints, but it is "
+                ("Traditional lint comment /*NOTREACHED*/ used. "
+                 "Splint interprets this in the same way as most Unix lints, but it is "
                  "preferable to replace it with the /*@notreached@*/ "
                  "semantic comment."),
                 g_currentloc);
@@ -821,9 +818,8 @@ static int tokenMacroCode (cstring s)
              voptgenerror 
                (FLG_WARNLINTCOMMENTS,
                 cstring_makeLiteral
-                ("Traditional lint comment /*PRINTFLIKE*/ used.  "
-                 "This is interpreted by "
-                 "LCLint in the same way as most Unix lints, but it is "
+                ("Traditional lint comment /*PRINTFLIKE*/ used. "
+                 "Splint interprets this in the same way as most Unix lints, but it is "
                  "preferable to replace it with either /*@printflike@*/, "
                  "/*@scanflike@*/ or /*@messagelike@*/."),
                 g_currentloc);
@@ -846,9 +842,8 @@ static int tokenMacroCode (cstring s)
              voptgenerror
                (FLG_WARNLINTCOMMENTS,
                 cstring_makeLiteral
-                ("Traditional lint comment /*ARGSUSED*/ used.  "
-                 "This is interpreted by "
-                 "LCLint in the same way as most Unix lints, but it is "
+                ("Traditional lint comment /*ARGSUSED*/ used. "
+                 "Splint interprets this in the same way as most Unix lints, but it is "
                  "preferable to use /*@unused@*/ annotations on "
                  "the unused parameters."),
                 g_currentloc);
index e5ed0faf747ac51086dc815d9a9da30e3bf8dc0a..bd0e8060e6d2778fc0d56fe631e674c121dc1e51 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -31,7 +31,7 @@
  * - cstring_replaceAll () needed in cpplib.c
  */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "osd.h"
 # include "portab.h"
index 13c5820e807caab42c0fd2e10d631b0876bcc0e7..1a71e71a5732f3c6a05050cc4aef292f71a7bc03 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 cstringList
index 50c061913f0d484817f201a5809f5aaecb6f1b22..4e5aba794e2324290ca2034d1539b4333234a8f6 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 cstringSList
index 0f5f970eba00a17c07ce1490361ac73ea21fced1..c6b71b55e7b031441005884e6525c5a779fa668e 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -33,7 +33,7 @@
 **
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "randomNumbers.h"
 
index ebb1612426d05c442c779cc8a7d61ecd17b20c36..cea6f1846a237b7e0b8a6d13ffb4bc7c18cc090f 100644 (file)
@@ -1,20 +1,25 @@
 /* ;-*-C-*-; 
-** Copyright (c) Massachusetts Institute of Technology 1994-1998.
-**          All Rights Reserved.
-**          Unpublished rights reserved under the copyright laws of
-**          the United States.
+** Splint - annotation-assisted static program checker
+** Copyright (C) 1994-2002 University of Virginia,
+**         Massachusetts Institute of Technology
 **
-** THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
-** OR IMPLIED.  ANY USE IS AT YOUR OWN RISK.
+** This program is free software; you can redistribute it and/or modify it
+** under the terms of the GNU General Public License as published by the
+** Free Software Foundation; either version 2 of the License, or (at your
+** option) any later version.
+** 
+** This program is distributed in the hope that it will be useful, but
+** WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+** General Public License for more details.
+** 
+** The GNU General Public License is available from http://www.gnu.org/ or
+** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+** MA 02111-1307, USA.
 **
-** This code is distributed freely and may be used freely under the 
-** following conditions:
-**
-**     1. This notice may not be removed or altered.
-**
-**     2. Works derived from this code are not distributed for
-**        commercial gain without explicit permission from MIT 
-**        (for permission contact lclint-request@sds.lcs.mit.edu).
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
+** For more information: http://www.splint.org
 */
 /*
 ** ctbase.i
index 0cbe38a208bf893204179f9f0281e6555438d18e..efff90e37f07ef93929cd00c4e0492dc1244aebf 100644 (file)
@@ -1,20 +1,25 @@
 /* ;-*-C-*-; 
-** Copyright (c) Massachusetts Institute of Technology 1994-1998.
-**          All Rights Reserved.
-**          Unpublished rights reserved under the copyright laws of
-**          the United States.
+** Splint - annotation-assisted static program checker
+** Copyright (C) 1994-2002 University of Virginia,
+**         Massachusetts Institute of Technology
 **
-** THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
-** OR IMPLIED.  ANY USE IS AT YOUR OWN RISK.
+** This program is free software; you can redistribute it and/or modify it
+** under the terms of the GNU General Public License as published by the
+** Free Software Foundation; either version 2 of the License, or (at your
+** option) any later version.
+** 
+** This program is distributed in the hope that it will be useful, but
+** WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+** General Public License for more details.
+** 
+** The GNU General Public License is available from http://www.gnu.org/ or
+** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+** MA 02111-1307, USA.
 **
-** This code is distributed freely and may be used freely under the 
-** following conditions:
-**
-**     1. This notice may not be removed or altered.
-**
-**     2. Works derived from this code are not distributed for
-**        commercial gain without explicit permission from MIT 
-**        (for permission contact lclint-request@sds.lcs.mit.edu).
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
+** For more information: http://www.splint.org
 */
 /*
 ** cttable.i
index 1423bbdcd8d986a234e5898ab12d89a06c651b06..6b910527cb4fb48a3f5c922f81b19fd865d61917 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -28,7 +28,7 @@
 ** They should probably be separated soon.
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "structNames.h"
 
index 186b5ec9c29547a3cfb25c80fe0cbd5fe3664a06..d17704096cc2d2e761ec536dba1709c9c4cd322e 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 /*@only@*/ ctypeList
index 0a27cfab73ddaa5055aa115e78d04a7d0f19a89d..7bcb7184cc881d8ab3a821ce611d1f483cdc2c50 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** cvar.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "cvar.h"
 
index 61257259f5705460ddadec2796d0593fd65657bd..5466428b0f1e2758ea3b1f0a35c6160d69cdd92f 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 declaratorInvNodeList
index 7516f883749bf879d614c67cd8a538bc8a79664c..fbe7e7860f55aeac99682e711116b4c2afcc94e0 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 declaratorNodeList
diff --git a/src/dummy.c b/src/dummy.c
deleted file mode 100644 (file)
index 15abc35..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-# include "lclintMacros.nf"
-# include "llbasic.h"
-# include "gram.h"
index 3997762136f502e99213097297d0b62c69b239a4..f393f8a433bd48189ec4afe953df6167a9386944 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** ekind.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 ekind
index 5801b3638d0bc1e6ca676c6a6b9d075245365c73..9e4b4aee6b620ebdc892d4daf09513416534a5b0 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -31,7 +31,7 @@
 ** used to be cenum.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 enumNameList
index 6ee14cb631eccdd25e6ad4a8e7a9a7bae203026f..df36d169f3472d2d48ab6af3486dc939a32f08bd 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -31,7 +31,7 @@
 ** used to be cenum.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 /*@access enumNameList@*/
index 70aadcaf58188d8fbdfcbda80d2910ba4ceef854..a2c38714fdbdc41d71fe93030cac0692e39ac998 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** exprChecks.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "cgrammar.h"
 # include "cgrammar_tokens.h"
index 18d1805652ebcf33d96b87a420888d9a14ae6a91..3468afdbdd3fb124ca829cdf388d525c60ff586e 100644 (file)
@@ -3,7 +3,7 @@
 */
 
 # include <ctype.h> /* for isdigit */
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "cgrammar.h"
 # include "cgrammar_tokens.h"
index 748f8875d2f6b7105afa1c4823bff97a4c6e317f..9796fdfad7b0792afe10166a77b251631187ae21 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -26,7 +26,7 @@
 */
 
 # include <ctype.h> /* for isdigit */
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "cgrammar.h"
 # include "cgrammar_tokens.h"
@@ -979,7 +979,7 @@ exprNode exprNode_createId (/*@observer@*/ uentry c)
       
       /*
       ** yoikes!  leaving this out was a heinous bug...that would have been
-      ** caught if i had lclint working first.  gag!
+      ** caught if i had splint working first.  gag!
       */
       
       e->etext = cstring_undefined;
@@ -1009,7 +1009,7 @@ exprNode exprNode_createId (/*@observer@*/ uentry c)
       e->msets = sRefSet_new ();
       e->uses = sRefSet_new ();
       
-      /*> missing fields, detected by lclint <*/
+      /*> missing fields, detected by splint <*/
       e->exitCode = XK_NEVERESCAPE;
       e->isJumpPoint = FALSE;
       e->canBreak = FALSE;
@@ -1194,7 +1194,7 @@ exprNode_arrayFetch (/*@only@*/ exprNode e1, /*@only@*/ exprNode e2)
  
       /*
       ** this sets up funny aliasing, that leads to spurious
-      ** lclint errors.  Hence, the i2 comments.
+      ** splint errors.  Hence, the i2 comments.
       */
 
       /* evans 2001-09-09 added ctype_isKnown so there is no swap when e1 type is unknown */
@@ -3142,7 +3142,7 @@ checkGlobMods (/*@notnull@*/ /*@dependent@*/ exprNode f,
   if (freshMods)
     {
       /*
-      ** Spurious errors reported, because lclint can't tell
+      ** Spurious errors reported, because splint can't tell
       ** mods must be fresh if freshMods is true.
       */
 
@@ -8586,7 +8586,7 @@ exprNode_iterNewId (/*@only@*/ cstring s)
   e->isJumpPoint = FALSE;
   e->exitCode = XK_NEVERESCAPE;
 
-  /*> missing fields, detected by lclint <*/
+  /*> missing fields, detected by splint <*/
   e->canBreak = FALSE;
   e->mustBreak = FALSE;
   e->etext = cstring_undefined;
index b190e761d00f48b76cd28ff2c606b8efb47e5a41..5321d5f1f19023d6b8b66746d34fdad2abaa76f1 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 /*@only@*/ exprNodeList
index 02efc19de9892148437ee0f672d43147ee3e82cd..71146c92f326515dd30397935dbd901416c2e650 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "exprNodeSList.h"
 
index 84b344da24763291284249b6aa93f18ca6ad1ef1..ac59de157c96ac976f8ba7b5e85c8ad75e9376f9 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 fcnNodeList
index b411a1d091f571aca950fe1aeff9efbf5e930ac3..5ebd3945c07fb363111393c9c00b96f9aad52cb9 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** fileIdList.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "fileIdList.h"
index 2f5dcac727f42d83ad81fbea286df7416b4a023a..a33141642994b47e346f6e9a4e223c0d4b772b86 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** fileLib.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "portab.h"
 
@@ -163,7 +163,7 @@ fileLib_addExtension (/*@temp@*/ cstring s, cstring suffix)
 
   if (strrchr (s, '.') == (char *) 0)
     {
-      /* <<< was mstring_concatFree1 --- bug detected by lclint >>> */
+      /* <<< was mstring_concatFree1 --- bug detected by splint >>> */
       return (cstring_concat (s, suffix));
     }
   else
index dfa591dc4ae545cc636125536e869228cfaa3d85..ab627d5e1c8062586f170794271da05cd506f32d 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -44,7 +44,7 @@
  * - Added conditional stuff (#define and #include) for IBM's compiler.
  */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "osd.h"
 # include "llmain.h"
index 25e0460dc1584e004147f9c63113aeff121739dd..24c2a4b03a70de8c44c52bfc8a04d287e6bee098 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -33,7 +33,7 @@
  *   instead of fileloc_unparseFilename().
  */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "fileIdList.h"
 # include "osd.h"
index 8c69143d49918d738eceb970a129735da474cec5..6d0ff21ce6a117e158537486272bdb2fbd497541 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** filelocList.c (from slist_template.c)
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "filelocList.h"
 
index 3fb419013189dd4dc3aa21210a9924abdf765120..d35fa392f3c5e02742bde508d957c60ab0933c94 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** filelocStack.c (from slist_template.c)
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "filelocStack.h"
 
index d88f381b15c8fb404a8199339af2511ff0516693..efb9b0a1fdb87c20ccff5044c7ac6e3328366d31 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** flagMarker.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 flagMarker flagMarker_createLocalSet (flagcode code, ynm set, fileloc loc)
index dc80f2199b1849b768a12064a2f836bcc814a24b..3b863c779b25d3f2af4ef66cac71a61f5475429f 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -31,7 +31,7 @@
 ** invariant: flagMarker's are listed in order
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 static int flagMarkerList_lastBeforeLoc (flagMarkerList p_s, fileloc p_loc) /*@*/ ;
index eb634839088b485be572730f9f97852e7b7fa3a5..f1a90f9ed93140a021c7b2c1819567c5aab67403 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** flagSpec.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 static /*@only@*/ flagSpecItem flagSpecItem_create (/*@only@*/ cstring fname)
index d85fe21603ce4f8f0dbaf663f62c5591e5d06140..e19c00e0151dbac55d5902dbfc7f91efb2c369d7 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** flags.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "portab.h"
 
@@ -58,7 +58,7 @@ static flagcatinfo categories[] =
   { FK_SYNCOMMENTS, "syncomments", "interpretation of annotation comments" } ,
   { FK_COMPLETE, "complete", "completely defined, used, or specified system" } ,
   { FK_CONTROL, "controlflow", "suspicious control structures" } ,
-  { FK_DEBUG, "debug", "flags for debugging lclint" } ,
+  { FK_DEBUG, "debug", "flags for debugging splint" } ,
   { FK_DECL, "declarations", "consistency of declarations" } ,
   { FK_DEF, "definition", "undefined storage errors" } ,
   { FK_DIRECT, "directories", "set directores" } ,
@@ -1018,7 +1018,7 @@ flags_identifyFlagAux (cstring s, bool quiet)
             ("accessunspec flag is no longer supported.  It has been replaced by accessmodule, accessfile and "
              "accessfunction to provide more precise control of accessibility "
              "of representations.  For more information, "
-             "see lclint -help accessmodule"));
+             "see splint -help accessmodule"));
        }
       
       return SKIP_FLAG;
@@ -1041,7 +1041,7 @@ flags_identifyFlagAux (cstring s, bool quiet)
            (cstring_makeLiteral
             ("staticmods flag is obsolete.  You probably "
              "want impcheckmodstatics.  For more information, "
-             "see lclint -help impcheckmodstatics"));
+             "see splint -help impcheckmodstatics"));
        }
 
       return SKIP_FLAG;
@@ -1088,7 +1088,7 @@ flags_identifyFlagAux (cstring s, bool quiet)
             ("stdio flag is obsolete.  You may "
              "want strictlib or one of the gloabls "
              "checking flags.  For more information, "
-             "see lclint -help strictlib or lclint -help flags globals"));
+             "see splint -help strictlib or splint -help flags globals"));
        }
       
       return SKIP_FLAG;
index 9d19c6b3167bed2e92c41db16d680e731c509760..177fc090e3f8fda75fdbf562e9b7568c589bdc32 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** functionClause.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 static /*@only@*/ /*@notnull@*/ /*@special@*/ functionClause  /*@i32 need special? @*/
index 1b125fe38d29d772ba4d1173427d28470bab6e22..abf3dd0c43165ed0ec13bb5c4214bdb1eebbbb30 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 functionClauseList
index 39415ca2812d81265c30a9bdcd226dbd669f8df0..593ba3fec61d9822e5bdcd7101b29a9b19547c55 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** functionConstraint.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 static /*@only@*/ /*@notnull@*/ /*@special@*/ functionConstraint  /*@i32 need special? @*/
index 4ede8a4b216a5419f5e08688adc33950d47cf29c..cc6cb95dd3d0b9db17a8174d8c3f2cb966d2b5f6 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** general.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # undef malloc
 # undef realloc
index e2c00d770fdabf28d42b61c332418431ba883e52..bdc07979f033832eb5d981ea5fc6debe381f5246 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -28,7 +28,7 @@
 ** We sacrific type checking here for code reuse.
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "randomNumbers.h"
 
index 1462bc0b01324a6daff059b0f4f7e8029218eb68..747dbce61236b552770bd8a1e37b7bc4462426cd 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** globSet.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 globSet
index 00aa29d2d8f5a0230c3af9d6e61afade8016921b..7d4e2ea05ca34e3103da89d161f91bc6c57b14ca 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** globals.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 fileloc g_currentloc;
index dd9b89273373d1dcd93347370353824781f5bd31..4cf0231e11677b3021033844d01e15e31b484b23 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** globalsClause.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 extern globalsClause 
index 277c6d8b2c3fa017fb37b4fd62b9959906ab40df..693f0b741fb3160675c2d93b735d9b91017262da 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -32,7 +32,7 @@
 ** Either guards is obsolete and should be removed soon.
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 guardSet guardSet_new ()
index 5f01b1df72d54eeb7d1b88e648a0a954bb5bee5b..769e4ed0e0f6de23c92336a4db15efe600faaba8 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -33,7 +33,7 @@
 **
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 /*@constant null hbucket hbucket_undefined; @*/
index ebfc81a1c0e6009557fb8d19dea7359feea50433..e252c43377400d8dfb96e9e5d62bbf73221acd92 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** idDecl.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 /*@only@*/ idDecl
index b5ccab456c1f2a1699f75b4d2f01759beee9b686..0eac76505b73e617a1f5760d2b9d5dd9fa213322 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 idDeclList
index 63eb08f141010711509a25ec31f416abe6ea6d8e..4fc07e3d1fd235a4b68a599d960f179408c8c206 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 /*@only@*/ importNodeList
index cf9270fa4ee4e0bc9d6a7e4c16c3764ae89ec040..0d7a200b36d890e73e3c26153f8454e8c918e2cc 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -31,7 +31,7 @@
 **         Massachusetts Institute of Technology
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h" 
 # include "osd.h"
 # include "llgrammar.h" /* need simpleOp, MULOP and logicalOp in makeInfixTermNode */
index e1e384ee482aa2891957e371b750994fa100fcea..deb5268542f69235eae07183b36307211f91ac5d 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 /*@only@*/ initDeclNodeList
index f2788f781ce557aff87576b6c23a3f856d1c56f5..48508112e9480d282cda79ae0799a21f7c43ecc5 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -44,7 +44,7 @@
 **     Joe Wild, Technical Languages and Environments, DECspec project
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "osd.h"
 # include "portab.h"
index f32c38d4ae45bd70d2547e17aa74d20825f926f7..04cddf53ce33011701d6087eb358b715bdf2c7b0 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "intSet.h"
 
index d0b80667f42f0a3e8e3a7ce043db8c9b2d0aefad..57273dfe39a3525ad9699ece83e754f6f51fd9e8 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 /*@only@*/ interfaceNodeList
index cfbf1427ca02629d2a2e6757d8198824c6dd4851..134f56628db919f5412b3c87712c456e194ca77c 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -27,7 +27,7 @@
 ** This contains definitions used in processing C builtin types.
 **
 ** WARNING: there is a different file ctype.c for handling types
-**          in the C checking of lclint.  This is only for handling
+**          in the C checking of splint.  This is only for handling
 **          C builtin types in LCL files.
 **
 **  AUTHORS:
@@ -37,7 +37,7 @@
 **
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 typedef struct
index 51f378b005c48286a90a68174e4200179c9349ea..1efb405412770e34150d09211612684f3aa5a2e8 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -27,7 +27,7 @@
 ** Processor for Larch Shared Language Init Files
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "gram.h"
 # include "lclscan.h"
index b8d9068350c860ae08862ada04aac63dc4b716ea..d541c8bf921f7e8ff7b6008fdf4869bd360c6e60 100644 (file)
 ^7383 23$#DEFAULT_BOOLTYPE#PRAGMA_EXPAND
 ^7385 5@i6@0@0#PRAGMA_LEN_EXPAND
 ^7386 5$#MAX_PRAGMA_LEN
-^7387 16$#LCLINT_LIBVERSION
+^7387 16$#SPLINT_LIBVERSION
 ^7388 23$#BEFORE_COMMENT_MARKER#AFTER_COMMENT_MARKER
 *8 (Union tag)
 ^7390 9625@9626#$!225
 ^7554 15670$$$@0#lcllib_isSkipHeader
 ^7555 10993$$$@0#cppReader_parseExpression
 *1 (Constant)
-^7556 23$#LCLINT_MAINTAINER#CPP_VERSION
+^7556 23$#SPLINT_MAINTAINER#CPP_VERSION
 ^7558 63$#MAXPATHLEN
 *2 (Enum member)
 ^7559 10522$#OSD_FILEFOUND#OSD_FILENOTFOUND#OSD_PATHTOOLONG
index 9382000b988283a8be5835cccf69622b591eb95d..e44132a4f73acb100a2337b9aafb25f31049d422 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -31,7 +31,7 @@
 **
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "osd.h"
 
@@ -419,7 +419,7 @@ loadLCDFile (FILE *f, cstring name)
   char buf[BUFLEN];
   
   /*
-  ** Check version.  Should be >= LCLINT_LIBVERSION
+  ** Check version.  Should be >= SPLINT_LIBVERSION
   */
 
   if (reader_readLine (f, buf, BUFLEN) == NULL
@@ -442,7 +442,7 @@ loadLCDFile (FILE *f, cstring name)
        {
          loadllmsg (message ("Load library %s is in obsolete Splint library format.  Attempting "
                              "to continue anyway, but results may be incorrect.  Rebuild "
-                             "the library with this version of lclint.", 
+                             "the library with this version of splint.", 
                              name));
        }
       else 
@@ -459,7 +459,7 @@ loadLCDFile (FILE *f, cstring name)
            }
          else
            {
-             if ((LCLINT_LIBVERSION - version) >= FLT_EPSILON)
+             if ((SPLINT_LIBVERSION - version) >= FLT_EPSILON)
                {
                  cstring vname;
                  char *nl = strchr (buf, '\n');
@@ -468,10 +468,10 @@ loadLCDFile (FILE *f, cstring name)
 
                  vname = cstring_fromChars (buf + 9);
 
-                 loadllmsg (message ("Load library %s is in obsolete LCLint library "
+                 loadllmsg (message ("Load library %s is in obsolete Splint library "
                                      "format (version %s).  Attempting "
                                      "to continue anyway, but results may be incorrect.  Rebuild "
-                                     "the library with this version of lclint.", 
+                                     "the library with this version of splint.", 
                                      name, vname));
                }
              else
index f759a7c161bde63d9f07f61ce76012312885af34..772564c30acb2de1f5b20d25ad6cc2635799c078 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -42,7 +42,7 @@
 **     yet implemented in this version).
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 /*@-redecl@*/ /* from llgrammar.y */
index 5f8b028cbda68612f510ed358104c0e5a9952720..b249e99b5d417ef0a39685f3035da183060a33b5 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -49,7 +49,7 @@
 */
 
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "gram.h"
 # include "lclscan.h"
index 43a968bdb03fb1b9a33cc9d72abb7390582b1560..dc0292824f9bbe89858b948655f45c6d2f8d78cd 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -37,7 +37,7 @@
 **  CREATION DATE:  90.08.10
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "lcltokentable.h"
 # include "lclsyntable.h"
index 925bebdf0016ffc74fb73d27c5549384f14bfe4b..034f3d5b0942ba4f8931f5403f99e6c0496b42ed 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -28,7 +28,7 @@
 ** This table stores predefined tokens for LCL.
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "lcltokentable.h"
 
index 29fd4f0ba5197cd78d26a4c51efd38405bd3e9cc..c82d3f774df428471c1a074bf1c6896b96201021 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 /*@only@*/ letDeclNodeList
index d94c3fb4e0bd1a0d42a2cb081ff7eaa43e2901e6..fc34fad56b2921f06741b7fd6a62a255be5e219e 100644 (file)
--- a/src/lh.c
+++ b/src/lh.c
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -39,7 +39,7 @@
 **     The lh.c module controls formatting policy.
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "osd.h"
 # include "lh.h"
index dd66d544deaf7a0d00f8be6c9a8b7cd37a58b45d..34e43cb16bd26b40cfb0ac679e199500df49bd2a 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -27,7 +27,7 @@
 ** error reporting procedures
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include <string.h>
 # include <errno.h>
 # include "llbasic.h"
@@ -88,7 +88,7 @@ static void
 printBugReport (void)
 {
   fprintf (stderr, "     *** Please report bug to %s ***\n",
-          LCLINT_MAINTAINER);
+          SPLINT_MAINTAINER);
   llflush ();
   /* don't exit (EXIT_FAILURE); */
 }
@@ -1827,7 +1827,7 @@ void llparseerror (cstring s)
 
       llfatalerror
        (message ("%q: %s (For help on parse errors, "
-                 "see lclint -help parseerrors.)",
+                 "see splint -help parseerrors.)",
                  fileloc_unparse (g_currentloc), msg));
     }
 }
index 3a01c2038f45ce76541fc78ccb768937f9da0e5d..01338b643ea72cff3f9d7a5361be93f4f811c7a7 100644 (file)
 
 
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "lclscan.h"
 # include "checking.h"
index 6ee48b0a8952fe2b0704bc3a4e3cfd896c708066..b61d9ff53906baf04bcde7928cfc881e04bfb7de 100644 (file)
@@ -1,6 +1,6 @@
 /*;-*-C-*-;
 ** Splint - annotation-assisted static program checker
-** Copyright (C) 1994-2001 University of Virginia,
+** Copyright (C) 1994-2002 University of Virginia,
 **         Massachusetts Institute of Technology
 **
 ** This program is free software; you can redistribute it and/or modify it
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -26,7 +26,7 @@
 */
 %{
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "lclscan.h"
 # include "checking.h"
index 00ce04b55575a107f59def3853f69d56c5682d34..195cafa6adcf00d00c0a45b17a2cba02089602d4 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -48,7 +48,7 @@
 # include <process.h>
 # endif
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "osd.h"
 
@@ -616,7 +616,7 @@ static void addXHFile (fileIdList files, /*@temp@*/ cstring s)
 }
 
 /*
-** Disable MSVC++ warning about return value.  Methinks humbly lclint control
+** Disable MSVC++ warning about return value.  Methinks humbly splint control
 ** comments are a mite more legible.
 */
 
@@ -846,7 +846,7 @@ int main (int argc, char *argv[])
                readhomerc = readOptionsFile (homename, &passThroughArgs, FALSE);
                
                /*
-               ** Try ~/.lclintrc also for historical accuracy
+               ** Try ~/.splintrc also for historical accuracy
                */
                
                altname = message ("%s%h%s", home, CONNECTCHAR,
@@ -1803,7 +1803,7 @@ printParseErrors (void)
   llmsglit ("Parse Errors");
   llmsglit ("------------");
   llmsglit ("");
-  llmsglit ("LCLint will sometimes encounter a parse error for code that "
+  llmsglit ("Splint will sometimes encounter a parse error for code that "
            "can be parsed with a local compiler. There are a few likely "
            "causes for this and a number of techniques that can be used "
            "to work around the problem.");
@@ -1839,12 +1839,12 @@ printParseErrors (void)
            "header files.");
   llmsglit ("");
   llmsglit ("Otherwise, you may need to either manually define the problematic "
-           "type (e.g., add -Dmlink_t=int to your .lclintrc file) or force "
-           "lclint to process the header file that defines it. This is done "
+           "type (e.g., add -Dmlink_t=int to your .splintrc file) or force "
+           "splint to process the header file that defines it. This is done "
            "by setting -skipansiheaders or -skipposixheaders before "
            "the file that defines the type is #include'd.");
-  llmsglit ("(See lclint -help "
-           "skipansiheaders and lclint -help skipposixheaders for a list of "
+  llmsglit ("(See splint -help "
+           "skipansiheaders and splint -help skipposixheaders for a list of "
            "standard headers.)  For example, if <sys/local.h> uses a type "
            "defined by posix header <sys/types.h> but not defined by the "
            "posix library, we might do: ");
@@ -2044,15 +2044,15 @@ printFlags (void)
   llmsglit ("Flag Categories");
   llmsglit ("---------------");
   listAllCategories ();
-  llmsglit ("\nTo see the flags in a flag category, do\n   lclint -help flags <category>");
-  llmsglit ("To see a list of all flags in alphabetical order, do\n   lclint -help flags alpha");
-  llmsglit ("To see a full description of all flags, do\n   lclint -help flags full");
+  llmsglit ("\nTo see the flags in a flag category, do\n   splint -help flags <category>");
+  llmsglit ("To see a list of all flags in alphabetical order, do\n   splint -help flags alpha");
+  llmsglit ("To see a full description of all flags, do\n   splint -help flags full");
 }
 
 void
 printMaintainer (void)
 {
-  llmsg (message ("Maintainer: %s", cstring_makeLiteralTemp (LCLINT_MAINTAINER)));
+  llmsg (message ("Maintainer: %s", cstring_makeLiteralTemp (SPLINT_MAINTAINER)));
   llmsglit (LCL_COMPILE);
 }
 
@@ -2072,7 +2072,7 @@ printMail (void)
   llmsglit ("");
   llmsglit ("   lclint-interest@virginia.edu");
   llmsglit ("");
-  llmsglit ("      Informal discussions on the use and development of lclint.");
+  llmsglit ("      Informal discussions on the use and development of Splint.");
   llmsglit ("      To subscribe, send a message to majordomo@virginia.edu with body: ");
   llmsglit ("           subscribe lclint-interest");
 }
@@ -2184,7 +2184,7 @@ interrupt (int i)
                 cstring_toCharsSafe (loc));
        cstring_free (loc);
        printCodePoint ();
-       fprintf (stderr, "*** Please report bug to %s\n", LCLINT_MAINTAINER);
+       fprintf (stderr, "*** Please report bug to %s\n", SPLINT_MAINTAINER);
        exit (LLGIVEUP);
       }
     default:
@@ -2194,7 +2194,7 @@ interrupt (int i)
               cstring_toCharsSafe (fileloc_unparse (g_currentloc)));
       /*@=mustfree@*/
       printCodePoint ();
-      fprintf (stderr, "*** Please report bug to %s ***\n", LCLINT_MAINTAINER);
+      fprintf (stderr, "*** Please report bug to %s ***\n", SPLINT_MAINTAINER);
       exit (LLGIVEUP);
     }
 }
index ee7a2b6e2be8449648ccdb70d1ca2d7fc17a4e6b..a6c4abe1e62d9d5491dcc76ddad69810054a943e 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** lltok.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 # include "cgrammar.h"
index f910e18d6f6a53680cb115833ce965666045b9f5..e722e454c7c47d4e32e16405f8d036e5fab24c96 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 
@@ -33,7 +33,7 @@
 /* #define DEBUGPRINT 1 */
 
 # include <ctype.h> /* for isdigit */
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "cgrammar.h"
 # include "cgrammar_tokens.h"
index 76e456c85bc1b2b1ecb3ce8c2b4b0bc74357124e..4266667a2728b8ae16143d8405c533fe14cd5204 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 /*@only@*/ lslOpList
index c0d923d155c5840fe9390a261ebeb5481b5d3efe..f28982f959b0166faaa5efc7d771996a992bec82 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 
@@ -30,7 +30,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "checking.h"         /* for lslOp_equal */
 
index 82ebe6de99d40ca4f848313f5190e32888eeb410..bced7f696a2d331a27c01f3470eefd661ac8ea8d 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -27,7 +27,7 @@
 ** Processor for Larch Shared Language Init Files
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "signature.h"
 # include "signature2.h"
@@ -1324,7 +1324,7 @@ ProcessExtensionChar (void)
      /* Can only have one extension char.  Release old one. */
       lsetCharClass (firstChar, CHC_EXTENSION);
       
-      /* this is a (bogus) type bug! caught by lclint */
+      /* this is a (bogus) type bug! caught by splint */
       /* lsetCharClass (currentExtensionChar, SINGLECHAR); */
 
       lsetCharClass ((char) currentExtensionChar, SINGLECHAR);
index 5accf5fdba645009579315eb59e704876377b7b9..d0839a15ddcc9f0fc7cca0337d96ccc84f1c11bc 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -31,7 +31,7 @@
 **         Massachusetts Institute of Technology
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "lclscan.h"
 # include "signature.h"
index 24d9e7f0fd89658c965f1c5f6c1647def9ea266d..9ee3af0c9e658aeaeb1da1680c0c88f0fdff979c 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -69,7 +69,7 @@
 **     {n} Who      at Where   -- yy.mm.dd -- what
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 /*@+ignorequals@*/
index ba70af95ab4b6e9865b6b0941a9a258e97d96734..1f6fca43c10b919161d7d939d7c1c0d6c5ed249c 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 /*@only@*/ lsymbolList
index 6a756ab2a0a98fe9e8beb2acedb815bfbeaa3e73..064cc2da34f22128ae9321e1f3bbbc1bec66a86b 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
  
 lsymbolSet lsymbolSet_new ()
index 3b0aa29309a35fad56699ac167899a9d0d963566..8106a24c6196cc4aead5e1fc49f334238b214b23 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** ltoken.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "llgrammar.h"
 # include "scanline.h"
index 69535d9d8b964d2118a529028c5efde17ecba43f..aec0a8203a96ed250bc01f9c48f52adf19dbc0d3 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 /*@notnull@*/ /*@only@*/ ltokenList
index 8590c0a730cd1a4985cbcbef2020f62bd2b55e01..38db652093c36d0e70af8263fc95f5706b10c9ff 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 **
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "llmain.h"
 
index 2c8bedc2a0a8388ed649738492a890560af94b87..5b29e3a8df546b99dbb8111651c1dc4977a85ce0 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -31,7 +31,7 @@
 **         Massachusetts Institute of Technology
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 /*@constant int MAPPING_SIZE; @*/
index 45fa6fec9e0233dd76563a70fafa272d634c03ed..5749560b17cbee063430aeb9a916907d4c99f5f5 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** message.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
  
 /* patch for linux? solaris? */
index 16bfeb458a8c0fb6bee8bcd5a5ae1dd85c6c4b70..f0fe9b287a3fa576ca99c8ae9b9cce9c274451b6 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** messageLog.c (from slist_template.c)
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 /*@only@*/ messageLog
index aa463e897e7f4c3445eab95e15bdf0b6326ecde6..4394af3d70cb79abd4f761a1998725cd4b4eedce 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** metaStateConstraint.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 metaStateConstraint 
index 940679a94fcda6986590c00d8efa4a75358ca575..dcf2613c9165184fcfbe7f710fb7b6c7de2f8160 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** metaStateConstraintList.c (from slist_template.c)
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "metaStateConstraintList.h"
 
index 89da585074965a0d3622acaf121631a07382ff2d..d0b05a5f9c30408d00b1cb8d6e3aeab8270948e3 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** metaStateExpression.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 metaStateExpression 
index 074cc74327e087e412a69dfe10dd9fa4f086d5c9..9851bf6d48ebec1e46b86624b47c73d15ad39079 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** metaStateInfo.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 /*@notnull@*/ metaStateInfo 
index d88c568edee4b5f8d0a69cbcd991dc0ed82dc6b4..6d879ac45607a9bf4447b09ad8f388ad04c22066 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** metaStateSpecifier.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 metaStateSpecifier 
index cb3bb7475ad5d32b0de3534b3ac058129f188d51..81fea8e74f5f188fe2b8436ede82e2758a50e49e 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -26,7 +26,7 @@
 ** Based on genericTable.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "randomNumbers.h"
 
index d9eb7917b9cdcb6e857c1b3d1a65926f64601a07..abd8d827d866f83f88e15c48968b5968f2f14808 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** modifiesClause.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 extern modifiesClause 
index 38cd0f724eb6073b0f778aecddf47a9f0cb99327..735645539ecc53d3b1f5bc08a957e8722602f498 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** mtAnnotationDecl.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 extern mtAnnotationDecl mtAnnotationDecl_create (mttok id, mtContextNode c, mttok value) 
index 39034950638e977838ad081dc9df3d69a1ff8247..0f4b601fbe03022b5873115935ec800de01070dc 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 mtAnnotationList
index 9f89ef53b937291b9906dd8f0733bca7af795003..25606559d827bb4a412638d634d5099284ed9e8e 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** mtAnnotationsNode.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 extern mtAnnotationsNode mtAnnotationsNode_create (mtAnnotationList annots)
index c0ad120703e02418be1cf5de78b5697e7eea846f..ccac6f0fc6e47dfdb0e56a806168cc2625a7938d 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** mtContextNode.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 static bool mtContextNode_matchesType (mtContextNode, ctype) /*@*/ ;
index bc3a1defc39a3320bac1c94579532dce70a95748..b07f3e65d40fbd9b9dc6412373f5495bf0b91540 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** mtDeclarationNode.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 extern mtDeclarationNode mtDeclarationNode_create (mttok name, mtDeclarationPieces pieces) /*@*/ 
@@ -86,7 +86,7 @@ extern void mtDeclarationNode_process (mtDeclarationNode node, bool isglobal)
       mvals = mtValuesNode_getValues (mtv);
     }
 
-  /*@-usedef@*/ /*@i34 lclint should figure this out... */
+  /*@-usedef@*/ /*@i34 splint should figure this out... */
   nvalues = cstringList_size (mvals);
   /*@=usedef@*/
 
index db259ca3e065beddf571abc8ab030a450b497368..2aebdc3b1d30fd481d2bce7db683e07d2c0c856e 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** mtDeclarationPiece.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 static mtDeclarationPiece 
index a8b205194e5004a6d0c06b8e04efaeae3f234968..a91751bb550599ce618714f5bbab12cae5f6a0b7 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** mtDeclarationPieces.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 extern mtDeclarationPieces mtDeclarationPieces_create (void) /*@*/ 
index 8eedb831a78b10554bf5c10609217a7e106b018b..101a4d2dd85d82a34949fac6010420574c730f22 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** mtDefaultsDecl.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 extern mtDefaultsDecl 
index 0f0fa446a1109ec45a6032246398d6169a0d11ba..062c4d3ccef78d8f5ed5b9f820517961a2b247c9 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 mtDefaultsDeclList
index 8de9b6cd7681d5137098a051787423ef68998ea3..332046b982c3015d86dcb5a41a3df2442a966498 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** mtDefaultsNode.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 extern mtDefaultsNode mtDefaultsNode_create (mttok t, mtDefaultsDeclList decls)
index 53c49f969f8001f84e95a760f0d7f8a87f56feea..1baca49b6fb5684b3c681440c242f1216387183b 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** mtLoseReference.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 extern mtLoseReference mtLoseReference_create (mttok fromname, mtTransferAction action)
index 1b194c6d4e5375207b3966bbfca30cb0160bc8c1..d822e01621cfe556f79ae6c6f1b327fe8f2058d1 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 mtLoseReferenceList
index 18faf79c1bacb8a6402a064029f41ac5add62a7d..8a25efb83f7bdd98129dc828a5dd7b91e4bcf16f 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** mtMergeClause.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 extern mtMergeClause 
index 6b7c0b41e3dc727128f01d670f49446bd1b6d35b..9c404b4f0b2c51c25107231d9fef5812536c0984 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 mtMergeClauseList
index b688d170c4d45dfd8293951f6bfd1f42dc18095c..405b020e35cfc9122af180bd137f88dd324bb110 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** mtMergeItem.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 extern mtMergeItem mtMergeItem_createValue (mttok value)
index 4299ad42cdcc3c5a2b6521afe47031e461a45121..7424c2f954fde63d2575f048214cee8af97d325a 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** mtMergeNode.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 extern mtMergeNode mtMergeNode_create (mtMergeClauseList mlist) 
index 4994706fc11cd8f91f639c6c477b306c7165aa76..6b1766d52500e2c929bea951005520abd4189516 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** mtTransferAction.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 extern mtTransferAction mtTransferAction_createValue (mttok value)
index c4f7244a620ad203a6940e480ab608778c2e9221..10a760eec087d14377eb762635061aaabc6ee83e 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** mtTransferClause.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 extern mtTransferClause mtTransferClause_create (mttok fromname, mttok toname, mtTransferAction action)
index 3cf0c456ec31c661b92c2750e1bb0e09a34ccc1d..ecbd323128d0df008a8830591e7a3f916fd81139 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 mtTransferClauseList
index ab74989617d3ae7ea274e67eece369e9f9db21f3..230b3a303f32dc51471bbd562a7a500e40c18b02 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** mtValuesNode.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 extern mtValuesNode mtValuesNode_create (cstringList values) 
index 1e124aa603df8dcc7424784ad64a51c14a0b0907..940df5929858021badd96000b6a0f5f325cb75fe 100644 (file)
 
 
 # include "bison.reset"
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 # ifndef S_SPLINT_S
@@ -265,16 +265,16 @@ static const short yyrhs[] = {    -1,
 
 #if YYDEBUG != 0
 static const short yyrline[] = { 0,
-   152,   153,   156,   158,   162,   166,   167,   171,   172,   173,
-   174,   175,   176,   177,   178,   179,   180,   183,   187,   188,
-   191,   192,   193,   194,   195,   196,   203,   204,   207,   208,
-   211,   212,   216,   219,   220,   224,   225,   226,   229,   230,
-   231,   232,   235,   236,   239,   240,   243,   244,   245,   252,
-   253,   254,   255,   256,   257,   258,   259,   260,   261,   267,
-   270,   273,   274,   278,   281,   284,   286,   290,   293,   294,
-   298,   302,   305,   306,   309,   313,   314,   317,   320,   323,
-   326,   329,   330,   333,   336,   337,   340,   344,   345,   348,
-   349,   352
+   157,   158,   161,   163,   167,   171,   172,   176,   177,   178,
+   179,   180,   181,   182,   183,   184,   185,   188,   192,   193,
+   196,   197,   198,   199,   200,   201,   208,   209,   212,   213,
+   216,   217,   221,   224,   225,   229,   230,   231,   234,   235,
+   236,   237,   240,   241,   244,   245,   248,   249,   250,   257,
+   258,   259,   260,   261,   262,   263,   264,   265,   266,   272,
+   275,   278,   279,   283,   286,   289,   291,   295,   298,   299,
+   303,   307,   310,   311,   314,   318,   319,   322,   325,   328,
+   331,   334,   335,   338,   341,   342,   345,   349,   350,   353,
+   354,   357
 };
 #endif
 
index 1e124aa603df8dcc7424784ad64a51c14a0b0907..940df5929858021badd96000b6a0f5f325cb75fe 100644 (file)
 
 
 # include "bison.reset"
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 # ifndef S_SPLINT_S
@@ -265,16 +265,16 @@ static const short yyrhs[] = {    -1,
 
 #if YYDEBUG != 0
 static const short yyrline[] = { 0,
-   152,   153,   156,   158,   162,   166,   167,   171,   172,   173,
-   174,   175,   176,   177,   178,   179,   180,   183,   187,   188,
-   191,   192,   193,   194,   195,   196,   203,   204,   207,   208,
-   211,   212,   216,   219,   220,   224,   225,   226,   229,   230,
-   231,   232,   235,   236,   239,   240,   243,   244,   245,   252,
-   253,   254,   255,   256,   257,   258,   259,   260,   261,   267,
-   270,   273,   274,   278,   281,   284,   286,   290,   293,   294,
-   298,   302,   305,   306,   309,   313,   314,   317,   320,   323,
-   326,   329,   330,   333,   336,   337,   340,   344,   345,   348,
-   349,   352
+   157,   158,   161,   163,   167,   171,   172,   176,   177,   178,
+   179,   180,   181,   182,   183,   184,   185,   188,   192,   193,
+   196,   197,   198,   199,   200,   201,   208,   209,   212,   213,
+   216,   217,   221,   224,   225,   229,   230,   231,   234,   235,
+   236,   237,   240,   241,   244,   245,   248,   249,   250,   257,
+   258,   259,   260,   261,   262,   263,   264,   265,   266,   272,
+   275,   278,   279,   283,   286,   289,   291,   295,   298,   299,
+   303,   307,   310,   311,   314,   318,   319,   322,   325,   328,
+   331,   334,   335,   338,   341,   342,   345,   349,   350,   353,
+   354,   357
 };
 #endif
 
index 5defaa56db4a8900a8d1087ed044e1c3c361a138..5c90ea433e55adbdeab0bc0c55ee8f7a56ec868d 100644 (file)
@@ -1,20 +1,25 @@
 /*;-*-C-*-;
-** Copyright (c) Massachusetts Institute of Technology 1994-1998.
-**          All Rights Reserved.
-**          Unpublished rights reserved under the copyright laws of
-**          the United States.
+** Splint - annotation-assisted static program checker
+** Copyright (C) 1994-2002 University of Virginia,
+**         Massachusetts Institute of Technology
 **
-** THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
-** OR IMPLIED.  ANY USE IS AT YOUR OWN RISK.
+** This program is free software; you can redistribute it and/or modify it
+** under the terms of the GNU General Public License as published by the
+** Free Software Foundation; either version 2 of the License, or (at your
+** option) any later version.
+** 
+** This program is distributed in the hope that it will be useful, but
+** WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+** General Public License for more details.
+** 
+** The GNU General Public License is available from http://www.gnu.org/ or
+** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+** MA 02111-1307, USA.
 **
-** This code is distributed freely and may be used freely under the 
-** following conditions:
-**
-**     1. This notice may not be removed or altered.
-**
-**     2. Works derived from this code are not distributed for
-**        commercial gain without explicit permission from MIT 
-**        (for permission contact lclint-request@sds.lcs.mit.edu).
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
+** For more information: http://www.splint.org
 */
 /*
 ** mtgrammar.y
@@ -25,7 +30,7 @@
 %{
 
 # include "bison.reset"
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 # ifndef S_SPLINT_S
index e31264c7030ed781685d1ea87db012791671e19a..b63f9097aec4cfcba14712ef8cc3d38c91716bf6 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -27,7 +27,7 @@
 ** Controls reading of .mts files.
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "mtgrammar.h"
 # include "mtscanner.h"
index 012d35f8644e99eec3917c8770ad6487f5eea555..e3779385d415e800e8c8bc012941da1e3ae11aa2 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** generator tools one day...
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "mtgrammar.h"
 # include "mtscanner.h"
index ef1820eb003fa58a8d21307727867500d216c8fc..06deb68ceb34c420ed9f16c0fe30f4eced620278 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** mttok.c - based on lltok.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "mtgrammar.h"
 
index e00b9a99a53bb50f5482bb60136cbbc9c3a0cf6b..db295eb71f244d5ca78843f420b34423f48398bd 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** multiVal.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 /*@only@*/ multiVal multiVal_unknown ()
index d7a80f91349c3ac10e7dac22f57b88ad52cb9039..b9e1a33463adb29266503863ab15de8093eb5fcf 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** nameChecks.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "nameChecks.h"
 
@@ -1150,7 +1150,7 @@ checkCppName (uentry ue)
   static ob_mstring cppNames[NCPPNAMES] =
     {
       "and", "and_eq", "asm", 
-      "bitand", "bitor", "bool", /* gasp: "bool", is special for lclint */
+      "bitand", "bitor", "bool", /* gasp: "bool", is special for splint */
       "catch", "class", "compl", "const_class",
       "delete", "dynamic_cast", "false", "friend",
       "inline", "mutable", "namespace", "new",
index 15a5f2b08d76882226c012a706fd0018ea47b368..fc98d9abdc8abc47ab2b23c00f6d0520423dd008 100644 (file)
--- a/src/osd.c
+++ b/src/osd.c
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -55,7 +55,7 @@
 
 /*@end@*/
 /*@=allmacros*/
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "osd.h"
 # include "portab.h"
@@ -1015,7 +1015,7 @@ cstring osd_outputPath (cstring filename)
        return cstring_makeLiteral (".");
       else
        {
-         /*@i324 ! lclint didn't report an errors for: return ++path_p; */
+         /*@i324 ! splint didn't report an errors for: return ++path_p; */
          return cstring_fromCharsNew (++path_p);
        }
     }
index e2f8445eb6fcbfcbd14277f996d60f59dac38295..d4fe8f334245c8676d1e531d7e7a0d88f11736cc 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 /*@only@*/ pairNodeList
index fa1db6bd6c6bebbe75f186c0e14cb096ca422224..72a4d07e0852019ff2f4db6317db11748fd26f6d 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 /*@only@*/ paramNodeList
index 9fb5a2c465bdaf6e301e1a2fccbfa65844ee0383..b73f857f56b8698c06849093640ef2d4d06edf67 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 /*@only@*/ programNodeList
index 5bdc8660781035773cc00b4d61235dbda3137710..bcb2bff9869bc6890bd08ac4f8401d221bf98804 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -28,7 +28,7 @@
 ** qtypes are mutable
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 /*@notnull@*/ qtype qtype_create (ctype c)
index c46230fb9569853c392bc871d6e2bbd9e9b8ae0c..8816779c1765ce88d0652c6defd5882f5a4a16af 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -27,7 +27,7 @@
 ** representation of type qualifiers
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 static qual qual_createPlainAux (int i)
index fcf8ee63993aeece36dd0d4625cde6831215e3d6..8b51286e179f3ef49236bb4216348dd03a5d4009 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** qualList.c (from slist_template.c)
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 qualList
index 2bc65a61943f3a6055ae753fca96ffe7a6cde154..4a9894864ced222b20fd99d95a6ebf511d5b36ea 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 /*@only@*/ quantifierNodeList
index ba9a16ff720bf7b9d3af314a13e7383b5dd1039d..e9c35a0b06dfe92f6daeb52b20c2d2b18027f374 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
diff --git a/src/rangeTable.c b/src/rangeTable.c
deleted file mode 100644 (file)
index 0b67c72..0000000
+++ /dev/null
@@ -1,829 +0,0 @@
-/*
-** Splint - annotation-assisted static program checker
-** Copyright (C) 1994-2000 University of Virginia,
-**         Massachusetts Institute of Technology
-**
-** This program is free software; you can redistribute it and/or modify it
-** under the terms of the GNU General Public License as published by the
-** Free Software Foundation; either version 2 of the License, or (at your
-** option) any later version.
-** 
-** This program is distributed in the hope that it will be useful, but
-** WITHOUT ANY WARRANTY; without even the implied warranty of
-** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-** General Public License for more details.
-** 
-** The GNU General Public License is available from http://www.gnu.org/ or
-** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
-** MA 02111-1307, USA.
-**
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
-** For more information: http://www.splint.org
-*/
-/*
-** rangeTable.c
-*/
-
-# include "lclintMacros.nf"
-# include "basic.h"
-
-/*@constant int ATINVALID; @*/
-# define ATINVALID -1
-
-static sRefSet
-  rangeTable_canRangeAux (rangeTable p_s, sRef p_sr, int p_lim) /*@*/ ;
-static sRefSet
-  rangeTable_aliasedByLimit (rangeTable p_s, sRef p_sr, int p_lim) /*@*/ ;
-static sRefSet 
-  rangeTable_aliasedByAux (rangeTable p_s, sRef p_sr, int p_lim) /*@*/ ;
-
-rangeTable
-rangeTable_new ()
-{
-  return (rangeTable_undefined);
-}
-
-static /*@only@*/ /*@notnull@*/ rangeTable
-rangeTable_newEmpty (void)
-{
-  rangeTable s = (rangeTable) dmalloc (sizeof (*s));
-  
-  s->nelements = 0;
-  s->nspace = rangeTableBASESIZE;
-  s->keys     = (sRef *) dmalloc (sizeof (*s->keys) * rangeTableBASESIZE);
-  s->values   = (sRefSet *) dmalloc (sizeof (*s->values) * rangeTableBASESIZE);
-  s->ranges    = (sRefSet *) dmalloc (sizeof (*s->ranges) * rangeTableBASESIZE);
-  return (s);
-}
-
-static void
-rangeTable_grow (/*@notnull@*/ rangeTable s)
-{
-  int i;
-  o_sRefSet *oldvalues = s->values;
-  sRef    *oldkeys = s->keys;
-  RangeAt *oldranges = s->ranges;
-  
-  s->nspace += rangeTableBASESIZE; 
-
-  s->values = (sRefSet *) dmalloc (sizeof (*s->values)
-                                  * (s->nelements + s->nspace));
-  s->keys = (sRef *) dmalloc (sizeof (*s->keys) * (s->nelements + rangeTableBASESIZE));
-
-  s->ranges = (sRef *) dmalloc (sizeof (*s->ranges) * (s->nelements + rangeTableBASESIZE));
-
-  
-  if (s->keys == (sRef *) 0 || s->values == (sRefSet *)0 || s->ranges = (range_At*) 0 )
-    {
-      llfatalerror (cstring_makeLiteral ("rangeTable_grow: out of memory!"));
-    }
-
-  for (i = 0; i < s->nelements; i++)
-    {
-      s->values[i] = oldvalues[i];
-      s->keys[i] = oldkeys[i];
-      s->ranges[i] = oldranges[i];
-    }
-  
-  sfree (oldvalues);
-  sfree (oldkeys);
-}
-
-static int rangeTable_lookupRefs (/*@notnull@*/ rangeTable s, sRef sr)
-{
-  int i;
-
-  
-  for (i = 0; i < rangeTable_size (s); i++)
-    {
-      if (sRef_same (sr, s->keys[i])) 
-       {
-         return i;
-       }
-    }
-
-  return ATINVALID;
-}
-
-/*
-** sr rangees al (and anything al rangees!)
-*/
-
-rangeTable
-rangeTable_addMustRange (/*@returned@*/ rangeTable s,
-                        /*@exposed@*/ sRef sr,
-                        sRef al)
-{
-  int ind;
-  sRefSet ss;
-  
-  llassert (NORANGE (sr, al));
-
-  if (rangeTable_isUndefined (s))
-    {
-      s = rangeTable_newEmpty ();
-      ind = ATINVALID;
-    }
-  else
-    {
-      ind = rangeTable_lookupRefs (s, sr);
-    }
-  
-  ss = rangeTable_canRange (s, al); 
-  
-  
-  if (ind == ATINVALID)
-    {
-      if (s->nspace <= 0) {
-       rangeTable_grow (s);
-      }
-
-      s->nspace--;
-      s->keys[s->nelements] = sr;
-      s->values[s->nelements] = sRefSet_single (al); 
-      ind = s->nelements;
-      s->nelements++;      
-    }
-  else
-    {
-      s->values[ind] = sRefSet_insert (s->values[ind], al); 
-    }
-  
-  s->values[ind] = sRefSet_unionExcept (s->values[ind], ss, s->keys[ind]); 
-
-  sRefSet_free (ss);
-  return s;
-}
-
-static rangeTable 
-  rangeTable_addSet (/*@returned@*/ rangeTable s,
-                    /*@exposed@*/ sRef key, /*@only@*/ sRefSet value)
-{
-  if (!sRefSet_isEmpty (value))
-    {
-      if (rangeTable_isUndefined (s))
-       {
-         s = rangeTable_newEmpty ();
-       }
-      else
-       {
-         if (s->nspace <= 0)
-           {
-             rangeTable_grow (s);
-           }
-       }
-
-      s->nspace--;
-      s->keys[s->nelements] = key;
-      s->values[s->nelements] = value;
-      s->nelements++;      
-    }
-  else
-    {
-      sRefSet_free (value);
-    }
-
-  return s;
-}
-
-/*
-** When rangees are cleared:
-**
-**    o remove all entries for sr
-**    o replace all rangees for things which range sr with sr's rangees
-**
-** Clear rangees for sr; if sr is a direct param reference, clear its rangees too.
-*/
-
-static void rangeTable_clearRangeesAux (/*@notnull@*/ rangeTable p_s, sRef p_sr)
-   /*@modifies p_s@*/ ;
-
-void rangeTable_clearRangees (rangeTable s, sRef sr)
-{
-  if (rangeTable_isUndefined (s))
-    {
-      return;
-    }
-  else
-    {
-      sRef rb = sRef_getRootBase (sr);
-
-            
-      if (!sRef_isCvar (sr) && sRef_isLocalVar (rb))
-       {
-         int ind = rangeTable_lookupRefs (s, rb);
-         
-         if (ind != ATINVALID)
-           {
-             sRefSet al = s->values[ind];
-             
-                     
-             sRefSet_realElements (al, el)
-               {
-                                 
-                 if (sRef_isParam (el))
-                   {
-                     if (sRef_sameName (el, rb))
-                       {
-                         sRef fb = sRef_fixBase (sr, el); 
-
-                         rangeTable_clearRangeesAux (s, fb); 
-                       }
-                   }
-               } end_sRefSet_realElements ;
-           }
-       }
-      
-      rangeTable_clearRangeesAux (s, sr); 
-    }  
-}
-
-static
-void rangeTable_clearRangeesAux (/*@notnull@*/ rangeTable s, sRef sr)
-{
-  int i;
-  
-  for (i = 0; i < s->nelements; i++)
-    {
-      sRef key = s->keys[i];
-      
-      if (sRef_includedBy (key, sr))
-       {
-         sRefSet_clear (s->values[i]);
-       }
-      else
-       {
-         (void) sRefSet_deleteBase (s->values[i], sr);   
-       }
-    }
-}
-
-/*
-** returns set of all sRefs that must range sr (but are different from sr)
-*/
-
-static /*@only@*/ sRefSet rangeTable_rangeedByAux (rangeTable s, sRef sr, int lim)
-{
-  static bool hadWarning = FALSE;
-  sRefSet res = sRefSet_undefined;
-  int i;
-
-  llassert (!sRef_isConj (sr));
-  
-  
-  if (rangeTable_isUndefined (s) || lim >= RANGESEARCHLIMIT)
-    {
-      if (lim >= RANGESEARCHLIMIT && !hadWarning)
-       {
-         llquietbug
-           (message ("Range search limit exceeded, checking %q. "
-                     "This either means there is a variable with at least "
-                     "%d indirections, or there is a bug in Splint.",
-                     sRef_unparse (sr),
-                     RANGESEARCHLIMIT));
-         
-         hadWarning = TRUE;
-       }
-
-      return sRefSet_undefined;
-    }
-  else
-    {
-      sRefSet abl;
-
-      if (sRef_isPointer (sr))
-       {
-         abl = rangeTable_rangeedByLimit (s, sRef_getBase (sr), lim);
-         res = sRefSet_addIndirection (abl);
-       }
-      else if (sRef_isAddress (sr))
-       {
-         abl = rangeTable_rangeedByLimit (s, sRef_getBase (sr), lim);
-         res = sRefSet_removeIndirection (abl);
-       }
-      else if (sRef_isField (sr))
-       {
-         abl = rangeTable_rangeedByLimit (s, sRef_getBase (sr), lim);
-         res = sRefSet_accessField (abl, sRef_getField (sr));
-       }
-      else if (sRef_isArrayFetch (sr))
-       {
-         abl = rangeTable_rangeedByLimit (s, sRef_getBase (sr), lim);
-
-         if (sRef_isIndexKnown (sr))
-           {
-             int idx = sRef_getIndex (sr);
-             
-             res = sRefSet_fetchKnown (abl, idx);
-           }
-         else
-           {
-             res = sRefSet_fetchUnknown (abl);
-           }
-       }
-      else
-       {
-         abl = sRefSet_undefined;
-       }
-
-      sRefSet_free (abl);
-    }
-
-  for (i = 0; i < s->nelements; i++)
-    {
-      sRef elem = s->keys[i];
-      
-      if (!sRef_same (sr, elem)) /* was sameName */
-       {
-                 
-         sRefSet_realElements (s->values[i], current)
-           {
-                     
-             if (sRef_similar (sr, current))
-               {
-                                                 res = sRefSet_insert (res, sRef_fixOuterRef (elem));
-                 /*@innerbreak@*/ break;
-               }
-           } end_sRefSet_realElements;
-       } 
-    }
-  
-    return res;
-}
-
-static /*@only@*/ sRefSet rangeTable_rangeedByLimit (rangeTable s, sRef sr, int lim)
-{
-  sRefSet res;
-  
-  
-  if (sRef_isConj (sr))
-    {
-      res = sRefSet_unionFree (rangeTable_rangeedByLimit (s, sRef_getConjA (sr), lim),
-                              rangeTable_rangeedByLimit (s, sRef_getConjB (sr), lim));
-    }
-  else
-    {
-      res = rangeTable_rangeedByAux (s, sr, lim + 1);
-    }
-  
-    return res;
-}
-
-/*@only@*/ sRefSet rangeTable_rangeedBy (rangeTable s, sRef sr)
-{ 
-  if (sRef_isConj (sr))
-    {
-      return (sRefSet_unionFree (rangeTable_rangeedBy (s, sRef_getConjA (sr)),
-                                rangeTable_rangeedBy (s, sRef_getConjB (sr))));
-    }
-
-  return (rangeTable_rangeedByAux (s, sr, 0));
-}
-
-/*@only@*/ sRefSet rangeTable_canRange (rangeTable s, sRef sr)
-{
-  sRefSet res;
-
-    
-  if (sRef_isConj (sr))
-    {
-      res = sRefSet_unionFree (rangeTable_canRange (s, sRef_getConjA (sr)),
-                              rangeTable_canRange (s, sRef_getConjB (sr)));
-    }
-  else
-    {
-      res = rangeTable_canRangeAux (s, sr, 0);
-          }
-
-    return res;
-}
-
-/*
-** need to limit the depth of rangeing searches 
-*/
-
-static /*@only@*/ sRefSet rangeTable_canRangeLimit (rangeTable s, sRef sr, int lim)
-{
-  sRefSet res;
-  
-  if (sRef_isConj (sr))
-    {
-      sRefSet a = rangeTable_canRangeLimit (s, sRef_getConjA (sr), lim);
-      sRefSet b = rangeTable_canRangeLimit (s, sRef_getConjB (sr), lim);
-
-      res = sRefSet_unionFree (a, b);
-    }
-  else
-    {
-      res = rangeTable_canRangeAux (s, sr, lim + 1);
-    }
-  
-  return res;
-}
-
-static /*@only@*/ sRefSet 
-  rangeTable_canRangeAux (rangeTable s, sRef sr, int lim)
-{
-  static bool hadWarning = FALSE;
-  llassert (!sRef_isConj (sr));
-  
-  
-  if (rangeTable_isUndefined (s) || lim >= RANGESEARCHLIMIT)
-    {
-      if (lim >= RANGESEARCHLIMIT && !hadWarning)
-       {
-         llquietbug
-           (message ("Range search limit exceeded, checking %q. "
-                     "This either means there is a variable with at least "
-                     "%d indirections, or there is a bug in Splint.",
-                     sRef_unparse (sr),
-                     RANGESEARCHLIMIT));
-         
-         hadWarning = TRUE;
-       }
-
-      return sRefSet_undefined;
-    }
-  else
-    {
-      int ind = rangeTable_lookupRefs (s, sr);
-
-      if (sRef_isPointer (sr) || sRef_isAddress (sr) || sRef_isField (sr)
-         || sRef_isArrayFetch (sr))
-       {
-         sRef base = sRef_getBase (sr);
-         sRefSet tmp = rangeTable_canRangeLimit (s, base, lim);
-         sRefSet ret;
-
-         if (sRef_isPointer (sr))
-           {
-             ret = sRefSet_addIndirection (tmp); 
-           }
-         else if (sRef_isAddress (sr))
-           {
-             ret = sRefSet_removeIndirection (tmp);
-           }
-         else if (sRef_isField (sr))
-           {
-             ret = sRefSet_accessField (tmp, sRef_getField (sr));
-           }
-         else if (sRef_isArrayFetch (sr))
-           {
-             if (sRef_isIndexKnown (sr))
-               {
-                 ret = sRefSet_fetchKnown (tmp, sRef_getIndex (sr));
-               }
-             else
-               {
-                 ret = sRefSet_fetchUnknown (tmp);
-               }
-           }
-         else
-           {
-             BADBRANCH;
-           }
-
-         if (ind != ATINVALID)
-           {
-             ret = sRefSet_union (ret, s->values[ind]);
-           }
-
-         sRefSet_free (tmp);
-                 return ret;
-       }
-      
-      if (ind == ATINVALID) return sRefSet_undefined;      
-      
-      return sRefSet_newCopy (s->values[ind]);
-    }
-}
-
-rangeTable rangeTable_copy (rangeTable s)
-{
-  if (rangeTable_isEmpty (s))
-    {
-      return rangeTable_undefined;
-    }
-  else
-    {
-      rangeTable t = (rangeTable) dmalloc (sizeof (*s));
-      int i;
-
-      t->nelements = s->nelements;
-      t->nspace = 0;
-      t->keys = (sRef *) dmalloc (sizeof (*s->keys) * s->nelements);
-      t->values = (sRefSet *) dmalloc (sizeof (*s->values) * t->nelements);
-        
-      for (i = 0; i < s->nelements; i++)
-       {
-         t->keys[i] = s->keys[i];
-         t->values[i] = sRefSet_newCopy (s->values[i]);
-       }
-
-      return t;
-    }
-}
-
-static void
-rangeTable_levelPrune (rangeTable s, int lexlevel)
-{
-  
-  
-  if (rangeTable_isEmpty (s))
-    {
-      return;
-    }
-  else
-    {
-      int i;
-      int backcount = s->nelements - 1;
-      
-      for (i = 0; i <= backcount; i++)
-       {
-         sRef key = s->keys[i];
-         
-         if (sRef_lexLevel (key) > lexlevel)
-           {
-             int j;
-             for (j = backcount; j > i; j--)
-               {
-                 backcount--;
-                 s->nelements--;
-                 s->nspace++;
-                 
-                 if (sRef_lexLevel (s->keys[j]) <= lexlevel)
-                   {
-                     s->keys[i] = s->keys[j];
-                     s->values[i] = s->values[j];
-                     sRefSet_levelPrune (s->values[i], lexlevel);
-                     /*@innerbreak@*/ break;
-                   }
-               }
-             if (backcount == i)
-               s->nelements--;
-           }
-         else
-           {
-             sRefSet_levelPrune (s->values[i], lexlevel);
-           }
-       }
-    }
-}
-
-/*
-** levelUnionSeq
-**
-**    like level union, but know that t2 was executed after t1.  So if
-**    t1 has x -> { a, b } and t2 has x -> { a }, then result has x -> { a }.
-**
-** NOTE: t2 is "only".
-*/
-
-rangeTable rangeTable_levelUnionSeq (/*@returned@*/ rangeTable t1, 
-                                    /*@only@*/ rangeTable t2, int level)
-{
-  if (rangeTable_isUndefined (t2))
-    {
-      return t1;
-    }
-
-  if (rangeTable_isUndefined (t1))
-    {
-      t1 = rangeTable_newEmpty ();
-    }
-  else
-    {
-      rangeTable_levelPrune (t1, level);
-    }
-
-  rangeTable_elements (t2, key, value)
-    {
-      if (sRef_lexLevel (key) <= level)
-       {
-         int ind = rangeTable_lookupRefs (t1, key);
-
-         sRefSet_levelPrune (value, level);
-             
-         if (ind == ATINVALID)
-           {
-             /* okay, t2 is killed */
-             /*@-exposetrans@*/ /*@-dependenttrans@*/ 
-             t1 = rangeTable_addSet (t1, key, value);
-             /*@=exposetrans@*/ /*@=dependenttrans@*/ 
-           }
-         else
-           {
-             sRefSet_free (t1->values[ind]);
-
-             /*@-dependenttrans@*/ /* okay, t2 is killed */
-             t1->values[ind] = value;
-             /*@=dependenttrans@*/
-           } 
-       }
-      else
-       {
-         /*@-exposetrans@*/ /*@-dependenttrans@*/ 
-         sRefSet_free (value);
-         /*@=exposetrans@*/ /*@=dependenttrans@*/ 
-       }
-
-    } end_rangeTable_elements;
-  
-  sfree (t2->keys);
-  sfree (t2->values);
-  sfree (t2);
-
-    return t1;
-}
-
-rangeTable 
-rangeTable_levelUnion (/*@returned@*/ rangeTable t1, rangeTable t2, int level)
-{
-  if (rangeTable_isUndefined (t1))
-    {
-      if (rangeTable_isUndefined (t2)) 
-       {
-         return t1;
-       }
-      else
-       {
-         t1 = rangeTable_newEmpty ();
-       }
-    }
-  else
-    {
-      rangeTable_levelPrune (t1, level);
-    }
-
-  rangeTable_elements (t2, key, cvalue)
-    {
-      sRefSet value = sRefSet_newCopy (cvalue);
-
-      if (sRef_lexLevel (key) <= level)
-       {
-         sRefSet_levelPrune (value, level);
-
-         if (sRefSet_size (value) > 0)
-           {
-             int ind = rangeTable_lookupRefs (t1, key);
-             
-             if (ind == ATINVALID)
-               {
-                 t1 = rangeTable_addSet (t1, key, value);
-               }
-             else
-               {
-                 t1->values[ind] = sRefSet_union (t1->values[ind], value);
-                 sRefSet_free (value);
-               }
-           }
-         else
-           {
-             sRefSet_free (value); 
-           }
-       }
-      else
-       {
-         sRefSet_free (value); 
-       }
-    } end_rangeTable_elements;
-
-    return t1;
-}
-
-rangeTable rangeTable_levelUnionNew (rangeTable t1, rangeTable t2, int level)
-{
-  rangeTable ret = rangeTable_levelUnion (rangeTable_copy (t1), t2, level);
-
-  return ret;
-}
-
-/*@only@*/ cstring
-rangeTable_unparse (rangeTable s)
-{
-   cstring st = cstring_undefined;
-
-   if (rangeTable_isUndefined (s)) return (cstring_makeLiteral ("<NULL>"));
-
-   rangeTable_elements (s, key, value)
-     {
-       st = message ("%q\t%q -> %q\n", st, sRef_unparse (key), 
-                    sRefSet_unparse (value));
-     } end_rangeTable_elements;
-
-   return st;
-}
-
-/*
-** bogus!
-*/
-
-void
-rangeTable_fixSrefs (rangeTable s)
-{
-  int i;
-
-  if (rangeTable_isUndefined (s)) return;
-
-  for (i = 0; i < s->nelements; i++)
-    {
-      sRef old = s->keys[i];
-
-      if (sRef_isLocalVar (old))
-       {
-         s->keys[i] = uentry_getSref (sRef_getUentry (old));
-       }
-
-      sRefSet_fixSrefs (s->values[i]);
-    }
-}
-
-void
-rangeTable_free (/*@only@*/ rangeTable s)
-{
-  int i;
-  
-  if (rangeTable_isUndefined (s)) return;
-  
-  for (i = 0; i < s->nelements; i++)
-    {
-      sRefSet_free (s->values[i]); 
-    }
-  
-  sfree (s->values);
-  sfree (s->keys);
-  sfree (s);
-}
-
-void 
-rangeTable_checkGlobs (rangeTable t)
-{
-  rangeTable_elements (t, key, value)
-    {
-      sRef root = sRef_getRootBase (key);
-
-      if (sRef_isRangeCheckedGlobal (root))
-       {
-         sRefSet_realElements (value, sr)
-           {
-             root = sRef_getRootBase (sr);
-
-             if (((sRef_isRangeCheckedGlobal (root) 
-                   && !(sRef_similar (root, key)))
-                  || sRef_isAnyParam (root))
-                 && !sRef_isExposed (root))
-               {
-                 if (sRef_isRangeCheckedGlobal (key))
-                   {
-                     if (!(sRef_isShared (key) 
-                           && sRef_isShared (root)))
-                       {
-                         voptgenerror 
-                           (FLG_GLOBRANGE,
-                            message 
-                            ("Function returns with %q variable %q rangeing %q %q",
-                             cstring_makeLiteral (sRef_isRealGlobal (key) 
-                                                  ? "global" : "file static"),
-                             sRef_unparse (key),
-                             cstring_makeLiteral (sRef_isAnyParam (root) 
-                                                  ? "parameter" : "global"),
-                             sRef_unparse (sr)),
-                            g_currentloc);
-                       }
-                   }
-
-               }
-           } end_sRefSet_realElements;
-       }
-      else if (sRef_isAnyParam (key) || sRef_isAnyParam (root))
-       {
-         sRefSet_realElements (value, sr)
-           {
-             root = sRef_getRootBase (sr);
-             
-             if (sRef_isRangeCheckedGlobal (root) 
-                 && !sRef_isExposed (root)
-                 && !sRef_isDead (key)
-                 && !sRef_isShared (root))
-               {
-                 voptgenerror 
-                   (FLG_GLOBRANGE,
-                    message ("Function returns with parameter %q rangeing %q %q",
-                             sRef_unparse (key),
-                             cstring_makeLiteral (sRef_isRealGlobal (root) 
-                                                  ? "global" : "file static"),
-                             sRef_unparse (sr)),
-                    g_currentloc);
-               }
-           } end_sRefSet_realElements;
-       }
-      else
-       {
-         ;
-       }
-    } end_rangeTable_elements;
-}
-
-
-
index 0b6bcf28dcc315eec85a9742862fd8cf3ec789a2..cd63fe96c3e9dac173f455741c91c755b407789a 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** reader.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 int reader_getInt (char **s)
index 236269f9509cdf1c3720605b4518a738fbdbcdc3..d2896b9d7c9258f9b75ad2e38fd2fef6f69e8273 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 /*@only@*/ replaceNodeList
index 9a18b79b21bb86e22d628371d1832784be9422d1..3d94f624a17feda3f9b0f3b3c2bbb890798b1753 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -34,7 +34,7 @@
 **
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "exprChecks.h"
 # include "transferChecks.h"
index 926674e0ceafac41c78da44b2e1f84eb69b3f9fe..63fe0536a6f502d70cbceff25fa9be6a040bcb65 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** sRefList.c (from slist_template.c)
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 sRefList
index 33a438c88472cda64cd7cd631a58ce775c92213c..d9bcee241b02d6c548222a7c6dfccaa93a7bcae5 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 sRefSet
index 09dc86fd7dcab851c8d23daf15e72983a8411d31..8afdb9baa2a591b01c62ba4dcdcc2d2f62006ba7 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 static /*@notnull@*/ /*@only@*/ sRefSetList
index 992598dca6904d4e5290653013e1bff800897dbc..82bc3a7c30b2a05c96b312737f02e05ff047a8e8 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "sRefTable.h"
 
index 1a326e08cf94b112d64a5f3633cc5a00ea73de6f..9a00372654b5d0558e50e0e9ce25b35d39c14208 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -42,7 +42,7 @@
 **     yet implemented in this version).
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "signature.h"
 # include "signature2.h"
index aa5af0bbbabdbf488c8a1ba9bc28d6446b69f518..106a906cdf8eb10345c3660234e0a2ea85440251 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -39,7 +39,7 @@
 **     and determine its kind.
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "signature.h"
 # include "signature2.h"
index 9e9359f4fa056de1e91e650074d35353a45833e3..3dd6f39cf02026686b1c017ea3b42c866a25d4c2 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 
@@ -34,7 +34,7 @@
 **
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "shift.h"
 
index f13e3afc704e2f0df6737a870604bbaab2f40d12..bb341904b65ae782494f17a97259f051b726a0a4 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "intSet.h"
 
index 5e66090cb10b47cf6d747d0974e771119d37e0a2..58a9dbb1634699c9a24003e4ddcdd27ba55d2e2b 100644 (file)
 
 
 # include <stdio.h>
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "lslparse.h"
 # include "signature.h"
@@ -1220,7 +1220,7 @@ void lslerror (char *s)
   llfatalbug 
     (cstring_makeLiteral 
      ("There has been a problem in the parser with LSL signatures. This is believed to result "
-      "from a problem with bison v. 1.25.  Please try rebuidling LCLint "
+      "from a problem with bison v. 1.25.  Please try rebuidling Splint "
       "using the pre-compiled grammar files by commenting out the "
       "BISON= line in the top-level Makefile."));
 }
index 1201d4eb58d68f8cb86d125e796981bb1ccf2930..c6f30e7282726f146262a4f15c6fbc7df162ec98 100644 (file)
@@ -1,6 +1,6 @@
 /*;-*-C-*-;
 ** Splint - annotation-assisted static program checker
-** Copyright (C) 1994-2001 University of Virginia,
+** Copyright (C) 1994-2002 University of Virginia,
 **         Massachusetts Institute of Technology
 **
 ** This program is free software; you can redistribute it and/or modify it
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -32,7 +32,7 @@
 %{
 
 # include <stdio.h>
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "lslparse.h"
 # include "signature.h"
@@ -255,7 +255,7 @@ void lslerror (char *s)
   llfatalbug 
     (cstring_makeLiteral 
      ("There has been a problem in the parser with LSL signatures. This is believed to result "
-      "from a problem with bison v. 1.25.  Please try rebuidling LCLint "
+      "from a problem with bison v. 1.25.  Please try rebuidling Splint "
       "using the pre-compiled grammar files by commenting out the "
       "BISON= line in the top-level Makefile."));
 }
index 31fb45b38c52aa8125df199cc43808bb60d99235..964f5756e3618668029dc16cbdd7957fd7b88256 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -35,7 +35,7 @@
 **         Massachusetts Institute of Technology
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "llgrammar.h"
 # include "lclscan.h"
@@ -2399,7 +2399,9 @@ sort_dump (FILE *f, bool lco)
        }
       else
        {
-         llcontbug (message ("Invalid sort in sort_dump: sort %d; sortname: %s.  This may result from using .lcs files produced by an old version of LCLint.  Remove the .lcs files, and rerun Splint.",
+         llcontbug (message ("Invalid sort in sort_dump: sort %d; sortname: %s. "
+                             "This may result from using .lcs files produced by an old version of Splint. "
+                             "Remove the .lcs files, and rerun Splint.",
                              i, lsymbol_toString (s->name)));
          fprintf (f, "sort _error_ ");
        }
index 656b9835aa19ad78daf1443225dad58ff3843469..740a85eeaad7edf9b12682b7d9370d0937817d24 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 /*@only@*/ sortList
index 0858b8654d6c8c7a1a83665006087671906d3563..4702b4fb216e41af25ea37298999d400eff04857 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 sortSet sortSet_new ()
index 82c823d585b7b837960ab259f1ee36ad2e31049c..598b076492a47256b1f33dbad6747ef9c4d68a43 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 /*@only@*/ sortSetList
diff --git a/src/source.c b/src/source.c
deleted file mode 100644 (file)
index fe12ac8..0000000
+++ /dev/null
@@ -1,391 +0,0 @@
-/*
-** Splint - annotation-assisted static program checker
-** Copyright (C) 1994-2000 University of Virginia,
-**         Massachusetts Institute of Technology
-**
-** This program is free software; you can redistribute it and/or modify it
-** under the terms of the GNU General Public License as published by the
-** Free Software Foundation; either version 2 of the License, or (at your
-** option) any later version.
-** 
-** This program is distributed in the hope that it will be useful, but
-** WITHOUT ANY WARRANTY; without even the implied warranty of
-** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-** General Public License for more details.
-** 
-** The GNU General Public License is available from http://www.gnu.org/ or
-** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
-** MA 02111-1307, USA.
-**
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
-** For more information: http://www.splint.org
-*/
-/*
-** source.c
-**
-** Interface to source file abstraction
-**
-**     NOTE:       This module is almost identical to the one for LCL.  The
-**                 only difference is that a couple of source lines have been
-**                 commented out.
-**
-**                 This module has too many dependencies to be in the common
-**                 source area.  Any of the solutions that would allow this
-**                 module to be common had its own set of compromises.  It
-**                 seemed best and most straightforward to just keep separte
-**                 copies for LSL and LCL.  We should examine this again if we
-**                 ever reorganize the module structure.
-**
-**  AUTHORS:
-**
-**     Steve Garland,
-**         Massachusetts Institute of Technology
-**     Joe Wild, Technical Languages and Environments, DECspec project
-*/
-
-# include "lclintMacros.nf"
-# include "llbasic.h"
-# include "osd.h"
-# include "portab.h"
-
-extern bool
-inputStream_close (inputStream s)
-{
-  if (s->file != NULL)
-    {
-      check (fileTable_closeFile (context_fileTable (),s->file) == 0);
-      s->file = NULL;
-      return TRUE;
-    }
-
-  return FALSE;
-}
-
-extern void
-inputStream_free (/*@null@*/ /*@only@*/ inputStream s)
-{
-  if (s != NULL)
-    {
-      sfree (s->name);
-      sfree (s->stringSource);
-      sfree (s->curLine);
-      sfree (s);
-    }
-}
-
-extern /*@only@*/ inputStream 
-  inputStream_create (char *name, char *suffix, bool echo)
-{
-  char *ps;
-  inputStream s = (inputStream) dmalloc (sizeof (*s));
-  
-  s->name = (char *) dmalloc (strlen (name) + strlen (suffix) + 1);
-  s->file = 0;
-  strcpy (s->name, name);
-
-  ps = strrchr (s->name, CONNECTCHAR);
-
-  if (ps == (char *) 0)
-    {
-      ps = s->name;
-    }
-
-  if (strchr (ps, '.') == NULL)
-    {
-      strcat (s->name, suffix);
-    }
-
-  s->lineNo = 0;
-  s->charNo = 0;
-  s->curLine = NULL;
-  s->echo = echo;
-  s->fromString = FALSE;
-  s->stringSource = NULL;
-  s->stringSourceTail = NULL;
-  
-  return s;
-}
-
-extern /*@only@*/ inputStream 
-inputStream_fromString (char *name, char *str)
-{
-  inputStream s = (inputStream) dmalloc (sizeof (*s));
-
-  s->name = mstring_copy (name);
-  s->stringSource = mstring_copy (str);
-  s->stringSourceTail = s->stringSource;
-  s->file = 0;
-  s->echo = FALSE;
-  s->fromString = TRUE;
-  s->lineNo = 0;
-  s->charNo = 0;
-  s->curLine = NULL;
-
-  return s;
-}
-
-extern int inputStream_nextChar (inputStream s)
-{
-  int res = inputStream_peekChar (s);
-
-  if (res != EOF) 
-    {
-      if (res == '\n')
-       {
-         s->curLine = NULL;
-         s->charNo = 0;
-       }
-      else
-       {
-         s->charNo++;
-       }
-    }
-
-  DPRINTF (("Next char: %c [%d]", res, res));
-  return res;
-}
-
-extern int inputStream_peekNChar (inputStream s, int n)
-     /* Doesn't work across lines! */
-{
-  llassert (s->curLine != NULL);
-  llassert (s->charNo + n < strlen (s->curLine));
-  return ((int) s->curLine [s->charNo + n]);
-}
-
-extern int inputStream_peekChar (inputStream s)
-{  
-  if (s->curLine == NULL)
-    {
-      s->curLine = NULL;
-      s->curLine = inputStream_nextLine (s);
-      s->charNo = 0;
-    }
-
-  if (s->curLine == NULL)  
-    {
-      return EOF;
-    }
-  llassert (s->charNo <= strlen (s->curLine));
-
-  if (s->curLine[s->charNo] == '\0') 
-    {
-      return '\n';
-    }
-  return ((int) s->curLine [s->charNo]);
-} 
-
-extern /*@dependent@*/ /*@null@*/ 
-char *inputStream_nextLine (inputStream s)
-{
-  char *currentLine;
-  int len;
-
-  llassert (s->curLine == NULL);
-  s->charNo = 0;
-
-  if (s->fromString)
-    {
-      if (s->stringSourceTail == NULL || (strlen (s->stringSourceTail) == 0))
-       {
-         currentLine = 0;
-       }
-      else
-       {
-         char *c = strchr (s->stringSourceTail, '\n');
-         
-         
-         /* in case line is terminated not by newline */ 
-         if (c == 0)
-           {
-             c = strchr (s->stringSourceTail, '\0');
-           }
-
-         len = c - s->stringSourceTail + 1;
-
-         if (len > STUBMAXRECORDSIZE - 2)
-           {
-             len = (STUBMAXRECORDSIZE - 2);
-           }
-
-         currentLine = &(s->buffer)[0];
-         strncpy (currentLine, s->stringSourceTail, size_fromInt (len));
-         currentLine[len] = '\0';
-         s->stringSourceTail += len;
-       }
-      
-    }
-  else
-    {
-      llassert (s->file != NULL);
-      currentLine = fgets (&(s->buffer)[0], STUBMAXRECORDSIZE, s->file);
-    }
-  if (currentLine == 0)
-    {
-      strcpy (s->buffer, "*** End of File ***");
-    }
-  else
-    {
-      s->lineNo++;
-      len = strlen (currentLine) - 1;
-      if (s->buffer[len] == '\n')
-       {
-         s->buffer[len] = '\0';
-       }
-      else 
-       {
-         if (len >= STUBMAXRECORDSIZE - 2)
-           {
-             lldiagmsg (message ("Input line too long: %s",
-                                 cstring_fromChars (currentLine)));
-           }
-       }
-    }
-
-  /* if (s->echo) slo_echoLine (currentLine);          only needed in LCL */
-  return currentLine;
-}
-
-extern bool
-inputStream_open (inputStream s)
-{
-  if (s->fromString)
-    {
-      /* not an error: tail is dependent */
-      s->stringSourceTail = s->stringSource; 
-      return TRUE;
-    }
-
-  DPRINTF (("Open: %s", s->name));
-  s->file = fileTable_openFile (context_fileTable (), s->name, "r");
-  return (s->file != 0 || s->fromString);
-}
-
-/*
-** requires
-**  path != NULL \and
-**  s != NULL \and
-**  *s.name == filename (*s.name) || filetype (*s.name)
-**      *s.name consists of a file name and type only ("<filename>.<type>)
-**     No path name is included
-**
-** ensures
-**  if filefound (*path, *s) then
-**     result = true \and *s.name = filespec_where_file_found (*path, *s)
-**  else
-**     result = false
-*/
-
-extern bool inputStream_getPath (char *path, inputStream s)
-{
-  char *returnPath;
-  filestatus status;           /* return status of osd_getEnvPath.*/
-  bool rVal;                   /* return value of this procedure. */
-
- /* Check if requires met. */
-  if (path == NULL || s == NULL || s->name == NULL)
-    {
-      llbugexitlit ("inputStream_getPath: invalid parameter");
-    }
-
-  status = osd_getPath (path, s->name, &returnPath);
-
-  if (status == OSD_FILEFOUND)
-    {                          /* Should be majority of cases. */
-      rVal = TRUE;
-      
-      sfree (s->name);
-      s->name = returnPath;
-    }
-  else if (status == OSD_FILENOTFOUND)
-    {
-      rVal = FALSE;
-    }
-  else if (status == OSD_PATHTOOLONG)
-    {
-      rVal = FALSE;
-     /* Directory and filename are too long.  Report error. */
-     llbuglit ("soure_getPath: Filename plus directory from search path too long");
- }
-  else
-    {
-      rVal = FALSE;
-      llbuglit ("inputStream_getPath: invalid return status");
-    }
-  return rVal;
-}
-
-# ifndef NOLCL
-char *specFullName (char *specfile, /*@out@*/ char **inpath)
-{
-  /* extract the path and the specname associated with the given file */
-  char *specname = (char *) dmalloc (sizeof (*specname) 
-                                    * (strlen (specfile) + 9));
-  char *ospecname = specname;
-  char *path = (char *) dmalloc (sizeof (*path) * (strlen (specfile)));
-  size_t size;
-  long int i, j;
-  
-  /* initialized path to empty string or may have accidental garbage */
-  *path = '\0';
-
-  /*@-mayaliasunique@*/ 
-  strcpy (specname, specfile);
-  /*@=mayaliasunique@*/ 
-
-  /* trim off pathnames in specfile */
-  size = strlen (specname);
-
-  for (i = size_toInt (size) - 1; i >= 0; i--)
-    {
-      if (specname[i] == CONNECTCHAR)
-       {
-         /* strcpy (specname, (char *)specname+i+1); */
-         for (j = 0; j <= i; j++)      /* include '/'  */
-           {
-             path[j] = specname[j];
-           }
-
-         path[i + 1] = '\0';
-         specname += i + 1;
-         break;
-       }
-    }
-
-  /* 
-  ** also remove .lcl file extension, assume it's the last extension
-  ** of the file name 
-  */
-
-  size = strlen (specname);
-
-  for (i = size_toInt (size) - 1; i >= 0; i--)
-    {
-      if (specname[i] == '.')
-       {
-         specname[i] = '\0';
-         break;
-       }
-    }
-  
-  *inpath = path;
-
-  /*
-  ** If specname no longer points to the original char,
-  ** we need to allocate a new pointer and copy the string.
-  */
-
-  if (specname != ospecname) {
-    char *rspecname = (char *) dmalloc (sizeof (*rspecname) * (strlen (specname) + 1));
-    strcpy (rspecname, specname); /* evs 2000-05-16: Bug: was ospecname! */
-    sfree (ospecname);
-    return rspecname;
-  } 
-
-  return specname;
-}
-# endif
-
index 0c6579cefa656f9d37a3282f68d1444cdf50f4de..01578bfd24fd53914a9a4547fd7b68ba803ff058 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 /*@only@*/ stDeclNodeList
index a362a64daf195f641b9e1b71cbc2db1d2467bb2f..8d196b9c07e595c047d6f007e8b63e35a82087b6 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** stateClause.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "cgrammar.h"
 # include "cgrammar_tokens.h"
index f3cbe967cb5293149634ecd72510feca96b86a73..e3c92fc01dfa81b0a8f8dcc175ec40a83ab9b0e9 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** stateClauseList.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 static /*@notnull@*/ stateClauseList stateClauseList_new (void)
index 41953eb1d5d116feb96483645656972148105bc5..2f6f2e88b2e42312804bc784239a10c83c692769 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -27,7 +27,7 @@
 ** A stateCombinationTable is a mapping from keys to value tables.
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 /*
index de7f8f0359664783de7566c7de16ab718bdd2cda..033b4a2fae96107bede55bd78cedb7002f0dcc77 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 void stateInfo_free (/*@only@*/ stateInfo a)
index 1530035d98d3af5894aae1d6ee0a312411295716..3150cfda313f152720a6017343c058064146c0a4 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** stateValue.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 extern 
index 5863cb5d6dd2bc404725223f6d3aa93983c64468..ea1119a007c61aadd3743addd7045b8fc11f8f4c 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 /*@only@*/ storeRefNodeList
index d5191525c30fb3c22ff842c3d0c947ae747fea66..de1a4b45b820d2348f6eac28916b89179884cf98 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -27,7 +27,7 @@
 ** Hacks to fit tags into the same namespace.
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "structNames.h"
 
index 10f3772e22ec5a4b5d5c6ccce013ee4def9d38c8..069f5185f8f7805c025f3cc868f0bc79d656f8a6 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -40,7 +40,7 @@
 **     20 January 1991
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "gram.h"
 # include "lclscan.h"
@@ -1306,7 +1306,7 @@ parseLine (char *line, inputStream srce, mapping map)
        }
       else
        {
-         /* evans 2001-05-27: detected by lclint after fixing external alias bug. */
+         /* evans 2001-05-27: detected by splint after fixing external alias bug. */
          if (op->name != NULL) 
            {
              ltoken_free (op->name->content.opid); 
index f550f72e4152d20c13e866b6035f1e10ef728a14..515d4654ab006246b6d6c3349f09e757619eab5b 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -34,7 +34,7 @@
 **     J.P. Wild
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "tokentable.h"
 # include "syntable.h"
index d69db549e2e05ba3cec2974484e19c6c3c76ce18..cd4c11b8f4cee9a7c019bab6e815066e0e8b1256 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 termNodeList termNodeList_new ()
index 42e0322a02d5b2e57011e0331ee9f845ea9aca0e..4663da50a20edc1a6c2bb7dd38c04677fa41a423 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** tokentable.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "osd.h"
 # include "tokentable.h"
index e9c7e0c488118b46e4a39f99e99df20e26781b7c..4a2bb2fc0213a1ca6d39caeef83838c3ab671499 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 /*@only@*/ traitRefNodeList
index 5cff7fd6f498e1365a5f17e640587c074b350082..30f9a98d446bffd97258c7c34079afe36b8c8ad8 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** transferChecks.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "transferChecks.h"
 
index e89d3ee9c5ba8f0bf7be38f4630686d6cff965e6..548825d75ceb48e0df9bd055dd8e9f957fc78338 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** typeIdSet.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 /*@constant int TISTABLEBASESIZE;@*/
index de6173032aa8293f5e724f6b7e3dcb509f793d17..792ea481a4c2559cc8a204f790ef23e1be4181ed 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 typeNameNodeList typeNameNodeList_new ()
index f5157be6f404f1c6ce913d6d6365c8287c82fa81..1deb565f4e478725d1e47f1f12c208c2a257b798 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** uentry.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "structNames.h"
 # include "nameChecks.h"
@@ -4173,7 +4173,7 @@ uentry_compare (uentry u1, uentry u2)
     {
     case KINVALID:
     case KELIPSMARKER:
-      /* bug detected by lclint:  
+      /* bug detected by splint:  
       ** uentry.c:753,14: Return value type bool does not match declared type int: TRUE 
       */
       return 0;
@@ -8539,7 +8539,7 @@ checkFunctionConformance (/*@unique@*/ /*@notnull@*/ uentry old,
 
              paramno++;  
              /*
-              ** Forgot this!  detected by lclint:
+              ** Forgot this!  detected by splint:
               ** uentry.c:1257,15: Suspected infinite loop
               */
            }
index fd45247002a108795310861b622b0b6f6379fd53..f0b662c4d90dc469afb8d807fbf253000f50f8b3 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** uentryList.c (from slist_template.c)
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 /*@only@*/ /*@notnull@*/ uentryList
index 15f546bceb8a396db7f168be4502be45f182be14..65a4eca26965bcb34d3bfe2bb5936ceb588ffb87 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 usymIdSet
index d9073d5481b40c9118e3359a9601feb1d2ba5876..04bd060bb67c9e81fd9edb4a218a0b7fa9579ef8 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -46,7 +46,7 @@
 **                      weird C syntax.
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "structNames.h"
 # include "exprChecks.h"
@@ -1897,7 +1897,7 @@ void usymtab_load (FILE *f)
        {
          llfatalerror
            (cstring_makeLiteral 
-            ("Library is in obsolete format.  Use lclint +whichlib "
+            ("Library is in obsolete format.  Use splint +whichlib "
              "to see which library is being loaded."));
        }
 
index c3af74c54f9c9ef4e741cc3f96c1309fa9619143..bd8553ccb0086f98476f1458a9aff30f69e308c4 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -31,7 +31,7 @@
 **
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 # include "gram.h"
 # include "lclscan.h"
index eea0916345e2718d0bd79240cba53cdcde405861..092f61fad047cb78f90d65d1c1c200ba344e8c56 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -26,7 +26,7 @@
 ** Based on genericTable.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "randomNumbers.h"
 
index a971fb0e7147d5ac5ab7aea59e1c55d5b38abb35..4e92a2c7741cadbdf3feb0a8342daeaedfdfb4e8 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 varDeclarationNodeList varDeclarationNodeList_new ()
index e811698f8953d34aa3b474b095a862706091af3c..bbe07122b2026e30162c20f91048c6af9bc70a9c 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** varKinds.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 alkind alkind_fromInt (int n)
index 1b4ac367c465bafd34d65c4acaeea4f2eaa152a5..1e797458c0c8d78a589536cfe933ac5e4877696d 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "llbasic.h"
 
 varNodeList varNodeList_new ()
index cbe2e4d42320f4dfc80a107043f2f2b02c92ee3e..7455108240e8fd6eb1c5cc4dce2c8463334ec3f4 100644 (file)
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** warnClause.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 static warnClause warnClause_createAux (/*@only@*/ fileloc loc, 
index 19d2044fa1dfb1cda3e8b6a4db83ce5063eda18f..994908f366ec1cf6c0623c273462c9ae1d654736 100644 (file)
--- a/src/ynm.c
+++ b/src/ynm.c
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: splint@cs.virginia.edu
+** To report a bug: splint-bug@cs.virginia.edu
 ** For more information: http://www.splint.org
 */
 /*
 ** ynm.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 ynm ynm_fromCodeChar (char c)
index 45bfb198a4198bf6af42b2ea5b4064978b390780..46dec8108a94402483ae8b76e7d936c62f0cdda9 100644 (file)
@@ -1,18 +1,18 @@
 
 lintcomments.c: (in function f)
-lintcomments.c:7:51: Traditional lint comment /*FALLTHROUGH*/ used.  This is
-    interpreted by LCLint in the same way as most Unix lints, but it is
-    preferable to replace it with the /*@fallthrough@*/ semantic comment
-lintcomments.c:8:33: Traditional lint comment /*FALLTHROUGH*/ used.  This is
-    interpreted by LCLint in the same way as most Unix lints, but it is
-    preferable to replace it with the /*@fallthrough@*/ semantic comment
-lintcomments.c:9:30: Traditional lint comment /*FALLTHRU*/ used.  This is
-    interpreted by LCLint in the same way as most Unix lints, but it is
-    preferable to replace it with the /*@fallthrough@*/ semantic comment
+lintcomments.c:7:51: Traditional lint comment /*FALLTHROUGH*/ used. Splint
+    interprets this in the same way as most Unix lints, but it is preferable to
+    replace it with the /*@fallthrough@*/ semantic comment
+lintcomments.c:8:33: Traditional lint comment /*FALLTHROUGH*/ used. Splint
+    interprets this in the same way as most Unix lints, but it is preferable to
+    replace it with the /*@fallthrough@*/ semantic comment
+lintcomments.c:9:30: Traditional lint comment /*FALLTHRU*/ used. Splint
+    interprets this in the same way as most Unix lints, but it is preferable to
+    replace it with the /*@fallthrough@*/ semantic comment
 lintcomments.c:11:13: Fall through case (no preceding break)
-lintcomments.c:23:21: Traditional lint comment /*NOTREACHED*/ used.  This is
-    interpreted by LCLint in the same way as most Unix lints, but it is
-    preferable to replace it with the /*@notreached@*/ semantic comment.
+lintcomments.c:23:21: Traditional lint comment /*NOTREACHED*/ used. Splint
+    interprets this in the same way as most Unix lints, but it is preferable to
+    replace it with the /*@notreached@*/ semantic comment.
 
 Finished checking --- 5 code warnings, as expected
 
index 35f0e89e9ce39ce83c9001504417035cb54f05ef..adcd12106743d272469b609704cf580a782a075b 100644 (file)
@@ -5,9 +5,9 @@ printflike.c:5:5: Function kprint is marked printflike, but has no elipsis
                      parameter
 printflike.c:8:5: Function sprint is marked scanflike, but has no elipsis
                      parameter
-printflike.c:13:15: Traditional lint comment /*PRINTFLIKE*/ used.  This is
-    interpreted by LCLint in the same way as most Unix lints, but it is
-    preferable to replace it with either /*@printflike@*/, /*@scanflike@*/ or
+printflike.c:13:15: Traditional lint comment /*PRINTFLIKE*/ used. Splint
+    interprets this in the same way as most Unix lints, but it is preferable to
+    replace it with either /*@printflike@*/, /*@scanflike@*/ or
     /*@messagelike@*/.
 printflike.c:16:35: Multiple special function codes:
                        printflike, messagelike (first code is ignored)
index e50a6f23610400875a0ed993ea2201a4aed04336..5dbeac661968734084989a8be3e0d5f7908f58b4 100644 (file)
@@ -45,7 +45,7 @@ Finished checking --- no warnings
 Finished checking --- no warnings
 
 extension.c:2:18: Parse Error: New function scope inside function. (For help on
-               parse errors, see lclint -help parseerrors.)
+               parse errors, see splint -help parseerrors.)
 *** Cannot continue.
 
 Finished checking --- no warnings
This page took 0.756168 seconds and 5 git commands to generate.