Skip to content

Commit 98bc1f1

Browse files
committed
Release 1.7.3
2 parents d51488a + 0d0c5f7 commit 98bc1f1

File tree

390 files changed

+12994
-5209
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

390 files changed

+12994
-5209
lines changed

CHANGES

Lines changed: 991 additions & 0 deletions
Large diffs are not rendered by default.

Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ CILLYDIR = lib
5656
OCAMLBEST = @OCAMLBEST@
5757
CILLIB_FILES = $(OBJDIR)/src/cil.cma
5858
ifeq ($(OCAMLBEST),opt)
59-
CILLIB_FILES += $(OBJDIR)/src/cil.cmxa
59+
CILLIB_FILES += $(OBJDIR)/src/cil.cmxa $(OBJDIR)/src/cil.a
6060
EXEMODE = .native
6161
else
6262
EXEMODE = .byte

README.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ points-to analyses.
1414
Quick start
1515
-----------
1616

17+
Install the latest release of CIL with [opam][]:
18+
19+
opam install cil
20+
1721
Read the excellent [CIL tutorial][tuto] by Zachary Anderson, and
1822
check out the accompanying [project template][template].
1923

@@ -23,22 +27,25 @@ check out the accompanying [project template][template].
2327
Installation
2428
-----------
2529

30+
To build and install CIL, you need the OCaml compiler, perl, and
31+
[ocamlfind][findlib]. (Of course, you also need some C compiler,
32+
preferably gcc.)
33+
2634
Run the following commands to build and install CIL:
2735

2836
./configure
2937
make
3038
make test # regression test suite, optionnal
3139
make install # as root or using sudo
3240

33-
If you want to install to some other directory, you can change the
34-
configure step like this:
35-
36-
FORCE_PERL_PREFIX=1 ./configure --prefix=/opt/cil
41+
If you want to install to some other directory, you can tweak the prefix
42+
during the configure step. For instance, to install in your local [opam][]
43+
directory:
3744

38-
You only need the OCaml compiler, perl, and [ocamlfind][findlib] for the
39-
installation. (Of course, you also need some C compiler.)
45+
FORCE_PERL_PREFIX=1 ./configure --prefix=`opam config var prefix`
4046

4147
[findlib]: http://projects.camlcity.org/projects/findlib.html
48+
[opam]: http://opam.ocamlpro.com/
4249

4350
Usage
4451
-----
@@ -57,7 +64,7 @@ instance in the OCaml toplevel using [findlib][]:
5764
# #require "cil";;
5865
[...]
5966
# Cil.cilVersion;;
60-
- : string = "1.7.2"
67+
- : string = "1.7.3"
6168

6269

6370
More documentation

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2207,7 +2207,7 @@ ac_config_files="$ac_config_files stamp-h"
22072207
# Assign here the CIL version numbers
22082208
CIL_VERSION_MAJOR=1
22092209
CIL_VERSION_MINOR=7
2210-
CIL_VERSION_REV=2
2210+
CIL_VERSION_REV=3
22112211
CIL_VERSION=$CIL_VERSION_MAJOR.$CIL_VERSION_MINOR.$CIL_VERSION_REV
22122212
22132213
# make sure I haven't forgotten to run autoconf

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ AC_PREREQ([2.69])
3333
# Assign here the CIL version numbers
3434
CIL_VERSION_MAJOR=1
3535
CIL_VERSION_MINOR=7
36-
CIL_VERSION_REV=2
36+
CIL_VERSION_REV=3
3737
CIL_VERSION=$CIL_VERSION_MAJOR.$CIL_VERSION_MINOR.$CIL_VERSION_REV
3838

3939
# make sure I haven't forgotten to run autoconf

doc/cil.tex

Lines changed: 1 addition & 752 deletions
Large diffs are not rendered by default.

doc/cil.version.aux

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
\relax
2+
\@setckpt{cil.version}{
3+
\setcounter{page}{1}
4+
\setcounter{equation}{0}
5+
\setcounter{enumi}{0}
6+
\setcounter{enumii}{0}
7+
\setcounter{enumiii}{0}
8+
\setcounter{enumiv}{0}
9+
\setcounter{footnote}{0}
10+
\setcounter{mpfootnote}{0}
11+
\setcounter{part}{0}
12+
\setcounter{section}{0}
13+
\setcounter{subsection}{0}
14+
\setcounter{subsubsection}{0}
15+
\setcounter{paragraph}{0}
16+
\setcounter{subparagraph}{0}
17+
\setcounter{figure}{0}
18+
\setcounter{table}{0}
19+
\setcounter{cuttingdepth}{0}
20+
\setcounter{LT@tables}{0}
21+
\setcounter{LT@chunks}{0}
22+
}

doc/cil.version.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
\def\cilversion{1.7.3}

doc/cilcode.tmp/ex1.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
int long signed x;
2+
signed long extern x;
3+
long static int long y;
4+
5+
// Some code that uses these declaration, so that CIL does not remove them
6+
int main() { return x + y; }

doc/cilcode.tmp/ex1.cil.c

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/* Generated by CIL v. 1.7.3 */
2+
/* print_CIL_Input is true */
3+
4+
#line 1 "cilcode.tmp/ex1.c"
5+
long x ;
6+
#line 3 "cilcode.tmp/ex1.c"
7+
static long long y ;
8+
#line 6 "cilcode.tmp/ex1.c"
9+
int main(void)
10+
{
11+
12+
13+
{
14+
#line 6
15+
return ((int )((long long )x + y));
16+
}
17+
}

0 commit comments

Comments
 (0)