Skip to content

Commit

Permalink
Added missing copyright headers per klee/issue klee#301
Browse files Browse the repository at this point in the history
  • Loading branch information
mdimjasevic committed Feb 24, 2016
1 parent f76b6c5 commit 1aef38c
Show file tree
Hide file tree
Showing 33 changed files with 299 additions and 4 deletions.
9 changes: 7 additions & 2 deletions include/klee/Internal/ADT/DiscretePDF.inc
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
//===- DiscretePDF.inc - --*- C++ -*-===//

//===- DiscretePDF.inc - --*- C++ -*---------------------------------------===//
//
// The KLEE Symbolic Virtual Machine
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

namespace klee {

Expand Down
9 changes: 9 additions & 0 deletions include/klee/util/PrintContext.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
//===-- PrintContext.h ------------------------------------------*- C++ -*-===//
//
// The KLEE Symbolic Virtual Machine
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef PRINTCONTEXT_H_
#define PRINTCONTEXT_H_

Expand Down
9 changes: 9 additions & 0 deletions lib/Basic/CmdLineOptions.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
//===-- CmdLineOptions.cpp --------------------------------------*- C++ -*-===//
//
// The KLEE Symbolic Virtual Machine
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

/*
* This file groups command line options definitions and associated
* data that are common to both KLEE and Kleaver.
Expand Down
12 changes: 11 additions & 1 deletion lib/Solver/MetaSMTBuilder.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
/*
//===-- MetaSMTBuilder.h ----------------------------------------*- C++ -*-===//
//
// The KLEE Symbolic Virtual Machine
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//


/*
* MetaSMTBuilder.h
*
* Created on: 8 Aug 2012
Expand Down
9 changes: 9 additions & 0 deletions scripts/IStatsMerge.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
#!/usr/bin/python

# ===-- IStatsMerge.py ----------------------------------------------------===##
#
# The KLEE Symbolic Virtual Machine
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
# ===----------------------------------------------------------------------===##

from __future__ import division

import sys, os
Expand Down
9 changes: 9 additions & 0 deletions scripts/IStatsSum.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
#!/usr/bin/python

# ===-- IStatsSum.py ------------------------------------------------------===##
#
# The KLEE Symbolic Virtual Machine
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
# ===----------------------------------------------------------------------===##

from __future__ import division

import sys, os
Expand Down
10 changes: 10 additions & 0 deletions scripts/coverageServer.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
#!/usr/bin/python

# ===-- coverageServer.py -------------------------------------------------===##
#
# The KLEE Symbolic Virtual Machine
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
# ===----------------------------------------------------------------------===##

from flask import *
from functools import wraps
from subprocess import call
Expand Down
9 changes: 9 additions & 0 deletions scripts/genTempFiles.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
#!/bin/bash

# ===-- genTempFiles.sh ---------------------------------------------------===##
#
# The KLEE Symbolic Virtual Machine
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
# ===----------------------------------------------------------------------===##

if [ -z "$1" ] ; then
echo "No directory given"
exit 1
Expand Down
9 changes: 9 additions & 0 deletions scripts/klee-chroot-env
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
#!/usr/bin/env python2
#-*- coding: utf-8 -*-
#
# ===-- klee-chroot-env ---------------------------------------------------===##
#
# The KLEE Symbolic Virtual Machine
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
# ===----------------------------------------------------------------------===##
#
# Buiding chroot environment for the program under test.
#
# This script uses `ldd' to get the shared libraries required by a program,
Expand Down
9 changes: 9 additions & 0 deletions scripts/klee-clang
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
#!/usr/bin/env python

# ===-- klee-clang --------------------------------------------------------===##
#
# The KLEE Symbolic Virtual Machine
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
# ===----------------------------------------------------------------------===##

import os, sys
import subprocess
import re
Expand Down
9 changes: 9 additions & 0 deletions scripts/klee-control
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
#!/usr/bin/python

# ===-- klee-control ------------------------------------------------------===##
#
# The KLEE Symbolic Virtual Machine
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
# ===----------------------------------------------------------------------===##

import os, signal, popen2

def getPID(dir):
Expand Down
9 changes: 9 additions & 0 deletions scripts/klee-gcc
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
#!/usr/bin/env python

# ===-- klee-gcc ----- ----------------------------------------------------===##
#
# The KLEE Symbolic Virtual Machine
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
# ===----------------------------------------------------------------------===##

import os, sys

def isLinkCommand():
Expand Down
9 changes: 9 additions & 0 deletions scripts/objdump
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
#!/usr/bin/python

# ===-- objdump -----------------------------------------------------------===##
#
# The KLEE Symbolic Virtual Machine
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
# ===----------------------------------------------------------------------===##

"""
An objdump wrapper for use with klee & kcachegrind.
Expand Down
9 changes: 9 additions & 0 deletions tools/gen-random-bout/gen-random-bout.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
//===-- gen-random-bout.cpp -------------------------------------*- C++ -*-===//
//
// The KLEE Symbolic Virtual Machine
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
Expand Down
9 changes: 9 additions & 0 deletions tools/kleaver/main.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
//===-- main.cpp ------------------------------------------------*- C++ -*-===//
//
// The KLEE Symbolic Virtual Machine
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#include "expr/Lexer.h"
#include "expr/Parser.h"

Expand Down
10 changes: 10 additions & 0 deletions tools/klee-stats/klee-stats
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
#!/usr/bin/env python
# -*- encoding: utf-8 -*-

# ===-- klee-stats --------------------------------------------------------===##
#
# The KLEE Symbolic Virtual Machine
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
# ===----------------------------------------------------------------------===##

"""Output statistics logged by Klee."""

# use '/' to mean true division and '//' to mean floor division
Expand Down
9 changes: 9 additions & 0 deletions tools/klee/main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
/* -*- mode: c++; c-basic-offset: 2; -*- */

//===-- main.cpp ------------------------------------------------*- C++ -*-===//
//
// The KLEE Symbolic Virtual Machine
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#include "klee/ExecutionState.h"
#include "klee/Expr.h"
#include "klee/Interpreter.h"
Expand Down
9 changes: 9 additions & 0 deletions tools/ktest-tool/ktest-tool
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
#!/usr/bin/env python

# ===-- ktest-tool --------------------------------------------------------===##
#
# The KLEE Symbolic Virtual Machine
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
# ===----------------------------------------------------------------------===##

import os
import struct
import sys
Expand Down
7 changes: 7 additions & 0 deletions unittests/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
##===- unittests/Makefile ----------------------------------*- Makefile -*-===##
#
# The KLEE Symbolic Virtual Machine
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
# ===----------------------------------------------------------------------===##

LEVEL = ..

Expand Down
9 changes: 9 additions & 0 deletions unittests/Ref/RefTest.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
//===-- RefTest.cpp ---------------------------------------------*- C++ -*-===//
//
// The KLEE Symbolic Virtual Machine
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

/* Regression test for a bug caused by assigning a ref to itself.
More details at http://keeda.stanford.edu/pipermail/klee-commits/2012-February/000904.html */

Expand Down
9 changes: 9 additions & 0 deletions utils/emacs/klee-pc-mode.el
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
;;===-- klee-pc-mode.el ---------------------------------------------------===;;
;;
;; The KLEE Symbolic Virtual Machine
;;
;; This file is distributed under the University of Illinois Open Source
;; License. See LICENSE.TXT for details.
;;
;;===----------------------------------------------------------------------===;;

(provide 'klee-pc-mode)

(require 'font-lock)
Expand Down
9 changes: 9 additions & 0 deletions utils/hacks/TreeGraphs/Animate.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
#!/usr/bin/python

# ===-- Animate.py --------------------------------------------------------===##
#
# The KLEE Symbolic Virtual Machine
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
# ===----------------------------------------------------------------------===##

import os
import TreeGraph
import Image
Expand Down
9 changes: 9 additions & 0 deletions utils/hacks/TreeGraphs/DumpTreeStream.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
#!/usr/bin/python

# ===-- DumpTreeStream.py -------------------------------------------------===##
#
# The KLEE Symbolic Virtual Machine
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
# ===----------------------------------------------------------------------===##

from __future__ import division

import sys, os, struct
Expand Down
10 changes: 10 additions & 0 deletions utils/hacks/TreeGraphs/Graphics/Canvas/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# ===-- __init__.py -------------------------------------------------------===##
#
# The KLEE Symbolic Virtual Machine
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
# ===----------------------------------------------------------------------===##


from __future__ import division

###
Expand Down
9 changes: 9 additions & 0 deletions utils/hacks/TreeGraphs/Graphics/Geometry/Intersect2D.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# ===-- Intersect2D.py ----------------------------------------------------===##
#
# The KLEE Symbolic Virtual Machine
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
# ===----------------------------------------------------------------------===##

import vec2, math

def intersectLineCircle((p, no), (C, r)):
Expand Down
9 changes: 9 additions & 0 deletions utils/hacks/TreeGraphs/Graphics/Geometry/mat2.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# ===-- mat2.py -----------------------------------------------------------===##
#
# The KLEE Symbolic Virtual Machine
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
# ===----------------------------------------------------------------------===##

import vec2

def det(m):
Expand Down
9 changes: 9 additions & 0 deletions utils/hacks/TreeGraphs/Graphics/Geometry/mat3.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# ===-- mat3.py -----------------------------------------------------------===##
#
# The KLEE Symbolic Virtual Machine
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
# ===----------------------------------------------------------------------===##

import vec3,mat2

def identity():
Expand Down
Loading

0 comments on commit 1aef38c

Please sign in to comment.