From: drl7x Date: Wed, 23 Apr 2003 19:48:42 +0000 (+0000) Subject: Answered some of these questions in more detail. X-Git-Tag: splint-3_1_1~11 X-Git-Url: http://andersk.mit.edu/gitweb/splint.git/commitdiff_plain/2c8e2e96baec52d22552818e4f1618b031b6e560 Answered some of these questions in more detail. --- diff --git a/doc/html/faq.html b/doc/html/faq.html index aab6dc5..cd3d1bc 100644 --- a/doc/html/faq.html +++ b/doc/html/faq.html @@ -27,13 +27,12 @@
  • Does Splint handle C++?
  • -
  • Installation

  • I downloaded the Splint .tgz file but can't figure out how to extract it. There is no 'z' option on the tar on my system.
  • -
  • I want to use Splint in win2000. How do I do that?
    +
  • I want to use Splint in Windows. How do I do that?
  • I have installed Splint for Windows 2000. Where should I put the ".splintrc" file?
    @@ -143,7 +142,7 @@
  • Which compilers does Splint support?

    - It is independent from your compiler.
    + Splint is independent from your compiler. It should be able to handle code written for any compiler as long as the code is C99 compliant.

  • @@ -172,27 +171,20 @@
  • -

    I want to use Splint in win2000. How do I do +

    I want to use Splint in Windows. How do I do that?

    - See www.splint.org for information on - Splint.
    + See http://splint.org/win32.html for instructions on obtaining and installing Splint on Windows.

    - -

    http://www.splint.org/win32.html - for Windows instructions.

    -
    +
  • I have installed Splint for Windows 2000. Where should I put the ".splintrc" file?

    For Win32, Splint looks for splint.rc instead of .splintrc due to the DOS - filename problems. It will look first in the current directory, then in
    -
    - -

    your home directory. See the Splint manual for more information.

    + filename problems. It will look first in the current directory, then in + your home directory. See the Splint manual for more information.
  • @@ -244,7 +236,12 @@ when we run this tool first time. Hence we need to modify source code. Is it correct ?

    - Usually not, but Splint doesn't support all C99 extensions.
    + Usually not.
    + Parse errors usually occur in code written for compilers that use nonstandard keywords. (See the question on using Splint for code development on embedded systems.)
    + + If you're getting parse errors make sure that the required libraries are included by using the +posixlib or +unixlib flags. If you're using nonstandard gnu extensions the +gnuextensions flag make be helpful.
    + + However, Splint doesn't yet support all C99 extensions so there are some legitimate C programs that will need to be modified.

  • @@ -252,9 +249,12 @@

    I heard that Splint can generate some spurious errors ( not genuine errors). Is it correct ?

    - Yes, please see www.splint.org for - details.
    -
    + + Yes. Many of the program properties that Splint checks are undecidable. This means that any static analysis tool that can be run on real programs will either produce false positives or false negatives. Because +of this and to improve efficiency, Splint makes some simplifying assumptions. This means +that Splint will occasionally produce spurious warnings or miss real errors.
    + +However, often spurious errors can be fixed by adding additional annotations.