diff options
Diffstat (limited to 'www/resources/get_sign.c.html')
-rw-r--r-- | www/resources/get_sign.c.html | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/www/resources/get_sign.c.html b/www/resources/get_sign.c.html deleted file mode 100644 index 58c28d01..00000000 --- a/www/resources/get_sign.c.html +++ /dev/null @@ -1,37 +0,0 @@ -<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN"> -<HTML> -<HEAD> -<TITLE>Enscript Output</TITLE> -</HEAD> -<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#1F00FF" ALINK="#FF0000" VLINK="#9900DD"> -<A NAME="top"> -<A NAME="file1"> -<H1>get_sign.c</H1> - -<PRE> -<I><FONT COLOR="#B22222">/* - * First KLEE tutorial: testing a small function - */</FONT></I> - - -<B><FONT COLOR="#228B22">int</FONT></B> <B><FONT COLOR="#0000FF">get_sign</FONT></B>(<B><FONT COLOR="#228B22">int</FONT></B> x) { - <B><FONT COLOR="#A020F0">if</FONT></B> (x == 0) - <B><FONT COLOR="#A020F0">return</FONT></B> 0; - - <B><FONT COLOR="#A020F0">if</FONT></B> (x < 0) - <B><FONT COLOR="#A020F0">return</FONT></B> -1; - <B><FONT COLOR="#A020F0">else</FONT></B> - <B><FONT COLOR="#A020F0">return</FONT></B> 1; -} - -<B><FONT COLOR="#228B22">int</FONT></B> <B><FONT COLOR="#0000FF">main</FONT></B>() { - <B><FONT COLOR="#228B22">int</FONT></B> a; - klee_make_symbolic(&a, <B><FONT COLOR="#A020F0">sizeof</FONT></B>(a), <B><FONT COLOR="#BC8F8F">"a"</FONT></B>); - <B><FONT COLOR="#A020F0">return</FONT></B> get_sign(a); -} -</PRE> -<HR> -<ADDRESS>Generated by <A HREF="http://www.iki.fi/~mtr/genscript/">GNU Enscript 1.6.5.2</A>.</ADDRESS> -<I>enscript -Ec --color -w html get_sign.c -o get_sign.c.html</I> -</BODY> -</HTML> |