Skip to content

Commit fa47d99

Browse files
author
Daniel Kroening
committed
various HTML fixes for the manual
1 parent 0bc21fa commit fa47d99

12 files changed

+28
-41
lines changed

doc/html-manual/api.shtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,17 +299,17 @@ extern unsigned char __CPROVER_memory[];
299299
This array models the contents of integer-addressed memory.
300300
</p>
301301

302-
<h4>__CPROVER::unsignedbv<N> (C++ only)</h4>
302+
<h4>__CPROVER::unsignedbv&lt;N&gt; (C++ only)</h4>
303303

304304
<p class="justified">This type is the equivalent of <b>unsigned __CPROVER_bitvector[N]</b> in the C++ front-end.
305305
</p>
306306

307-
<h4>__CPROVER::signedbv<N> (C++ only)</h4>
307+
<h4>__CPROVER::signedbv&lt;N&gt; (C++ only)</h4>
308308

309309
<p class="justified">This type is the equivalent of <b>signed __CPROVER_bitvector[N]</b> in the C++ front-end.
310310
</p>
311311

312-
<h4>__CPROVER::fixedbv<N> (C++ only)</h4>
312+
<h4>__CPROVER::fixedbv&lt;N&gt; (C++ only)</h4>
313313

314314
<p class="justified">This type is the equivalent of <b>__CPROVER_fixedbv[N,m]</b> in the C++ front-end.
315315
</p>

doc/html-manual/architecture.shtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,18 @@ more subtle. Try the following program with <code>--big-endian</code>
7676
and <code>--little-endian</code>:</p>
7777

7878
<hr>
79-
<code>
79+
<pre><code>
8080
#include &lt;stdio.h&gt;<br>
8181
#include &lt;assert.h&gt;<br>
8282
<br>
8383
int main() {<br>
8484
&nbsp;&nbsp;int i=0x01020304;<br>
85-
&nbsp;&nbsp;char *p=(char *)&i;<br>
85+
&nbsp;&nbsp;char *p=(char *)&amp;i;<br>
8686
&nbsp;&nbsp;printf("Bytes of i: %d, %d, %d, %d\n",<br>
8787
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;p[0], p[1], p[2], p[3]);<br>
8888
&nbsp;&nbsp;assert(0);<br>
8989
}
90-
</code>
90+
</code></pre>
9191
<hr>
9292

9393
<!--#include virtual="footer.inc" -->

doc/html-manual/cbmc-loops.shtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ following loop-free program:
161161
<font color="#3030f0">BODY CODE COPY 4</font>
162162
if(cond) {
163163
<font color="#3030f0">BODY CODE COPY 5</font>
164-
<font color=#ff3030">assert(!cond);</font>
164+
<font color="#ff3030">assert(!cond);</font>
165165
}
166166
}
167167
}

doc/html-manual/cbmc.shtml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,6 @@ representation.
356356
<div class="box1">
357357
<div class="caption">Further Reading</div>
358358

359-
<p>
360359
<ul>
361360
<li><a href="cbmc-loops.shtml">Understanding Loop Unwinding</a></li>
362361
<li><a target=_top href="http://www-2.cs.cmu.edu/~svc/papers/view-publications-ck03.html">
@@ -367,7 +366,6 @@ representation.
367366
<li><a target=_top href="http://www-2.cs.cmu.edu/~svc/papers/view-publications-ckl2004.html">A
368367
Tool for Checking ANSI-C Programs</a></li>
369368
</ul>
370-
</p>
371369

372370
<p class="justified">
373371
We also have a <a href="http://www.cprover.org/cbmc/applications.shtml">list of

doc/html-manual/cover.shtml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@ Test 5.
215215
(iteration 5) desired_climb=-1.000000f, estimator_z_dot=1.000000f
216216
(iteration 6) desired_climb=-1.000000f, estimator_z_dot=1.000000f
217217
</code></pre>
218-
</p>
219218

220219
<p class="justified">
221220
The option <code>--unwind 6</code> unwinds the loop inside the main

doc/html-manual/cprover-source.shtml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ The excerpt below gives some details of the class <i>irept</i>:
114114
<pre><code class="c++">class irept
115115
{
116116
public:
117-
typedef std::vector<irept> subt;
118-
typedef std::map<irep_name_string, irept> named_subt;
117+
typedef std::vector&lt;irept&gt; subt;
118+
typedef std::map&lt;irep_name_string, irept&gt; named_subt;
119119
...
120120

121121
public:
@@ -134,7 +134,7 @@ protected:
134134
dt *data;
135135
...
136136
};
137-
</pre></code>
137+
</code></pre>
138138

139139
<p class="justified">
140140
Every node of any tree is an object of class <i>irept</i>. Each node has a
@@ -692,20 +692,20 @@ declaration of the interface:
692692
{
693693
public:
694694
// Insert the symbol
695-
bool add(const symbolt &symb);
695+
bool add(const symbolt &amp;symb);
696696
// Insert symb into the
697697
// table and erase it.
698698
// New_symbol points to the
699699
// newly inserted element.
700-
bool move(symbolt &symbol, symbolt *&new_symbol);
700+
bool move(symbolt &amp;symbol, symbolt *&amp;new_symbol);
701701

702702
// Insert symb into the
703703
// table. Then symb is erased.
704-
bool move(symbolt &symb);
704+
bool move(symbolt &amp;syb);
705705

706706
// Return the entry of the
707707
// symbol with given name.
708-
const irept &value(const std::string &name) const;
708+
const irept &amp;value(const std::string &amp;name) const;
709709
};
710710
</code></pre>
711711

@@ -815,7 +815,7 @@ public:
815815
instructionst instructions;
816816

817817
typedef typename
818-
std::map<const_targett, unsigned> target_numberst;
818+
std::map&lt;const_targett, unsigned&gt; target_numberst;
819819

820820
//A map containing the unique number of each target
821821
target_numberst target_numbers;

doc/html-manual/goto-cc-variants.shtml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,23 @@ The goto-cc utility comes in several variants, summarised in the following table
1212

1313
<center>
1414
<table cellpadding=5 cellspacing=0>
15-
<tr bgcolor=#e0e0e0>
15+
<tr bgcolor="#e0e0e0">
1616
<th>Executable</th><th>Environment</th><th>Preprocessor</th></tr>
17-
<tr bgcolor=#e0f0f0><td>goto-cc</td>
17+
<tr bgcolor="#e0f0f0"><td>goto-cc</td>
1818
<td><a href="http://gcc.gnu.org/">gcc</a> (control-flow graph only)</td>
1919
<td>gcc -E</td></tr>
20-
<tr bgcolor=#f0f0f0><td>goto-gcc</td>
20+
<tr bgcolor="#f0f0f0"><td>goto-gcc</td>
2121
<td><a href="http://gcc.gnu.org/">gcc</a> ("hybrid" executable)</td>
2222
<td>gcc -E</td></tr>
23-
<tr bgcolor=#e0f0f0><td>goto-armcc</td>
23+
<tr bgcolor="#e0f0f0"><td>goto-armcc</td>
2424
<td><a href="http://arm.com/products/tools/software-tools/rvds/index.php">ARM RVDS</a></td>
2525
<td>armcc -E</td></tr>
26-
<tr bgcolor=#f0f0f0><td>goto-cl</td>
26+
<tr bgcolor="#f0f0f0"><td>goto-cl</td>
2727
<td><a href="http://www.microsoft.com/visualstudio/">Visual Studio</a></td>
2828
<td>cl /E</td></tr>
29-
<tr bgcolor=#e0f0f0><td>goto-cw</td>
29+
<tr bgcolor="#e0f0f0"><td>goto-cw</td>
3030
<td><a href="http://www.freescale.com/webapp/sps/site/homepage.jsp?code=CW_HOME">Freescale CodeWarrior</a></td>
3131
<td>mwcceppc</td></tr>
32-
</tr>
3332
</table>
3433
</center>
3534

doc/html-manual/hwsw.shtml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ the consistency of the HDL implementation is highly desirable.
3636
<p class="justified">
3737
This motivates the verification problem: we want to verify the consistency
3838
of the HDL implementation, i.e., the product,
39-
<a href="http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=936243&userType=inst">
39+
<a href="http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&amp;arnumber=936243&amp;userType=inst">
4040
using the ANSI-C implementation as a reference</a>. Es&shy;ta&shy;bli&shy;shing the consistency
4141
does not re&shy;quire a formal specification. However, formal methods to verify
4242
either the hardware or software design are still desirable.
@@ -90,13 +90,12 @@ methodology allows arbitrary loop constructs.
9090
tutorial</a> and a description on <a href="hwsw-inputs.shtml">
9191
how to synchronize inputs between the C model and the Verilog model</a>.
9292
There is also a collection of <a href="http://www.cprover.org/hardware/sequential-equivalence/">
93-
benchmark problems</a> available.</a>
93+
benchmark problems</a> available.
9494
</p>
9595

9696
<div class="box1">
9797
<div class="caption">Further Reading</div>
9898

99-
<p>
10099
<ul>
101100
<li><a target=_top href="http://www-2.cs.cmu.edu/~svc/papers/view-publications-ck03.html">
102101
Hardware Verification using ANSI-C Programs as a Reference</a></li>
@@ -111,7 +110,7 @@ href="http://www.kroening.com/publications/view-publications-kc2004.html">Checki
111110
Consistency of C and Verilog using Predicate Abstraction and Induction</a></li>
112111

113112
</ul>
114-
</p>
113+
</div> <!-- box1 -->
115114

116115
<!--#include virtual="footer.inc" -->
117116

doc/html-manual/introduction.shtml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,13 +151,11 @@ SATABS are described <a href="hwsw.shtml">here</a>.
151151

152152
<div class="box1">
153153
<div class="caption">Further Reading</div>
154-
<p>
155154
<ul>
156155
<li><a href="cbmc.shtml">Bounded Model Checking with CBMC</a></li>
157156
<li><a href="satabs.shtml">Predicate Abstraction with SATABS</a></li>
158157
<li><a href="hwsw.shtml">Hardware/Software Co-Verification</a></li>
159158
</ul>
160-
</p>
161159
</div>
162160

163161
<!--#include virtual="footer.inc" -->

doc/html-manual/properties.shtml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ we can obtain a counterexample trace for the NULL-pointer dereference:
185185
checks:
186186
</p>
187187

188-
<p>
189188
<table>
190189
<tr><td><code>--no-assertions</code></td> <td>ignore user assertions</td>
191190
<tr><td><code>--bounds-check</code></td> <td>add array bounds checks</td></tr>
@@ -198,15 +197,12 @@ checks:
198197
<tr><td><code>--uninitialized-check</code></td> <td>add checks for uninitialized locals (experimental)</td></tr>
199198
<tr><td><code>--error-label <i>label</i></code></td><td>check that given label is unreachable</td></tr>
200199
</table>
201-
</p>
202200

203201
<div class="box1">
204202
<div class="caption">Further Reading</div>
205-
<p>
206203
<ul>
207-
<li><a href="goto-cc.shtml">Integration into Build Systems with goto-cc</li>
204+
<li><a href="goto-cc.shtml">Integration into Build Systems with goto-cc</a></li>
208205
</ul>
209-
</p>
210206
</div>
211207

212208
<!--#include virtual="footer.inc" -->

doc/html-manual/satabs-aeon.shtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ same function:</p>
181181
Claim getConfig.7:<br>
182182
&nbsp;&nbsp;file lib_aeon.c line 19 function getConfig<br>
183183
&nbsp;&nbsp;dereference failure: array `home' upper bound<br>
184-
&nbsp;&nbsp;!(POINTER_OFFSET(dst) + (int)i >= 512) || !(SAME-OBJECT(dst, &home[0]))<br>
184+
&nbsp;&nbsp;!(POINTER_OFFSET(dst) + (int)i >= 512) || !(SAME-OBJECT(dst, &amp;home[0]))<br>
185185
</code></p>
186186

187187
<p class="justified">
@@ -258,7 +258,7 @@ overflow:
258258
Violated property:<br>
259259
&nbsp;&nbsp;file stubs.c line 8 column 10 function c::strcpy<br>
260260
&nbsp;&nbsp;dereference failure: array `home' upper bound<br>
261-
&nbsp;&nbsp;!(dest == \&home[0]) $\vert\vert$ !(i $>$= 512)}
261+
&nbsp;&nbsp;!(dest == &amp;home[0]) $\vert\vert$ !(i $>$= 512)}
262262
</code>
263263
-->
264264

doc/html-manual/satabs.shtml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,6 @@ validity of the properties if SATABS did not run to completion!
165165

166166
<div class="box1">
167167
<div class="caption">Further Reading</div>
168-
169-
<p>
170168
<ul>
171169
<li><a href="http://www.kroening.com/publications/view-publications-wbwk2007.html">
172170
Model Checking Concurrent Linux Device Drivers</a></li>
@@ -175,6 +173,6 @@ Model Checking Concurrent Linux Device Drivers</a></li>
175173
<li><a href="http://www-2.cs.cmu.edu/~svc/papers/view-publications-cksy2004.html">
176174
Predicate Abstraction of ANSI-C Programs using SAT</a></li>
177175
</ul>
178-
</p>
176+
</div>
179177

180178
<!--#include virtual="footer.inc" -->

0 commit comments

Comments
 (0)