Skip to content

Commit

Permalink
Update copyright header of our Python code to be machine readable
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippWendler committed May 22, 2020
1 parent 82f887f commit caeb199
Show file tree
Hide file tree
Showing 55 changed files with 234 additions and 768 deletions.
19 changes: 4 additions & 15 deletions benchexec/__init__.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
# BenchExec is a framework for reliable benchmarking.
# This file is part of BenchExec.
# This file is part of BenchExec, a framework for reliable benchmarking:
# https://github.com/sosy-lab/benchexec
#
# Copyright (C) 2007-2015 Dirk Beyer
# All rights reserved.
# SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# SPDX-License-Identifier: Apache-2.0

"""Main package of BenchExec.
Expand Down
19 changes: 4 additions & 15 deletions benchexec/baseexecutor.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
# BenchExec is a framework for reliable benchmarking.
# This file is part of BenchExec.
# This file is part of BenchExec, a framework for reliable benchmarking:
# https://github.com/sosy-lab/benchexec
#
# Copyright (C) 2007-2015 Dirk Beyer
# All rights reserved.
# SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# SPDX-License-Identifier: Apache-2.0

import errno
import logging
Expand Down
19 changes: 4 additions & 15 deletions benchexec/benchexec.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
# BenchExec is a framework for reliable benchmarking.
# This file is part of BenchExec.
# This file is part of BenchExec, a framework for reliable benchmarking:
# https://github.com/sosy-lab/benchexec
#
# Copyright (C) 2007-2015 Dirk Beyer
# All rights reserved.
# SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# SPDX-License-Identifier: Apache-2.0

"""This module contians the tool benchexec for executing a whole benchmark (suite).
To use it, instantiate the "benchexec.benchexec.BenchExec"
Expand Down
19 changes: 4 additions & 15 deletions benchexec/cgroups.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
# BenchExec is a framework for reliable benchmarking.
# This file is part of BenchExec.
# This file is part of BenchExec, a framework for reliable benchmarking:
# https://github.com/sosy-lab/benchexec
#
# Copyright (C) 2007-2015 Dirk Beyer
# All rights reserved.
# SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# SPDX-License-Identifier: Apache-2.0

import logging
import os
Expand Down
19 changes: 4 additions & 15 deletions benchexec/check_cgroups.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
# BenchExec is a framework for reliable benchmarking.
# This file is part of BenchExec.
# This file is part of BenchExec, a framework for reliable benchmarking:
# https://github.com/sosy-lab/benchexec
#
# Copyright (C) 2007-2015 Dirk Beyer
# All rights reserved.
# SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# SPDX-License-Identifier: Apache-2.0

import argparse
import logging
Expand Down
19 changes: 4 additions & 15 deletions benchexec/container.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
# BenchExec is a framework for reliable benchmarking.
# This file is part of BenchExec.
# This file is part of BenchExec, a framework for reliable benchmarking:
# https://github.com/sosy-lab/benchexec
#
# Copyright (C) 2007-2016 Dirk Beyer
# All rights reserved.
# SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# SPDX-License-Identifier: Apache-2.0

"""Utility functions for implementing a container using Linux namespaces
and for appropriately configuring such a container."""
Expand Down
19 changes: 4 additions & 15 deletions benchexec/containerexecutor.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
# BenchExec is a framework for reliable benchmarking.
# This file is part of BenchExec.
# This file is part of BenchExec, a framework for reliable benchmarking:
# https://github.com/sosy-lab/benchexec
#
# Copyright (C) 2007-2016 Dirk Beyer
# All rights reserved.
# SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# SPDX-License-Identifier: Apache-2.0

import argparse
import errno
Expand Down
19 changes: 4 additions & 15 deletions benchexec/containerized_tool.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
# BenchExec is a framework for reliable benchmarking.
# This file is part of BenchExec.
# This file is part of BenchExec, a framework for reliable benchmarking:
# https://github.com/sosy-lab/benchexec
#
# Copyright (C) 2007-2016 Dirk Beyer
# All rights reserved.
# SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# SPDX-License-Identifier: Apache-2.0

import collections
import contextlib
Expand Down
19 changes: 4 additions & 15 deletions benchexec/filehierarchylimit.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
# BenchExec is a framework for reliable benchmarking.
# This file is part of BenchExec.
# This file is part of BenchExec, a framework for reliable benchmarking:
# https://github.com/sosy-lab/benchexec
#
# Copyright (C) 2007-2017 Dirk Beyer
# All rights reserved.
# SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# SPDX-License-Identifier: Apache-2.0

import logging
import os
Expand Down
19 changes: 4 additions & 15 deletions benchexec/filewriter.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
# BenchExec is a framework for reliable benchmarking.
# This file is part of BenchExec.
# This file is part of BenchExec, a framework for reliable benchmarking:
# https://github.com/sosy-lab/benchexec
#
# Copyright (C) 2007-2015 Dirk Beyer
# All rights reserved.
# SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# SPDX-License-Identifier: Apache-2.0

import os

Expand Down
19 changes: 4 additions & 15 deletions benchexec/intel_cpu_energy.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
# BenchExec is a framework for reliable benchmarking.
# This file is part of BenchExec.
# This file is part of BenchExec, a framework for reliable benchmarking:
# https://github.com/sosy-lab/benchexec
#
# Copyright (C) 2007-2015 Dirk Beyer
# All rights reserved.
# SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# SPDX-License-Identifier: Apache-2.0

import collections
import logging
Expand Down
19 changes: 4 additions & 15 deletions benchexec/libc.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
# BenchExec is a framework for reliable benchmarking.
# This file is part of BenchExec.
# This file is part of BenchExec, a framework for reliable benchmarking:
# https://github.com/sosy-lab/benchexec
#
# Copyright (C) 2007-2016 Dirk Beyer
# All rights reserved.
# SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# SPDX-License-Identifier: Apache-2.0

"""This module contains function declarations for several functions of libc
(based on ctypes) and constants relevant for these functions.
Expand Down
19 changes: 4 additions & 15 deletions benchexec/localexecution.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
# BenchExec is a framework for reliable benchmarking.
# This file is part of BenchExec.
# This file is part of BenchExec, a framework for reliable benchmarking:
# https://github.com/sosy-lab/benchexec
#
# Copyright (C) 2007-2015 Dirk Beyer
# All rights reserved.
# SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# SPDX-License-Identifier: Apache-2.0

import logging
import os
Expand Down
19 changes: 4 additions & 15 deletions benchexec/model.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
# BenchExec is a framework for reliable benchmarking.
# This file is part of BenchExec.
# This file is part of BenchExec, a framework for reliable benchmarking:
# https://github.com/sosy-lab/benchexec
#
# Copyright (C) 2007-2015 Dirk Beyer
# All rights reserved.
# SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# SPDX-License-Identifier: Apache-2.0

import collections
import logging
Expand Down
19 changes: 4 additions & 15 deletions benchexec/oomhandler.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
# BenchExec is a framework for reliable benchmarking.
# This file is part of BenchExec.
# This file is part of BenchExec, a framework for reliable benchmarking:
# https://github.com/sosy-lab/benchexec
#
# Copyright (C) 2007-2015 Dirk Beyer
# All rights reserved.
# SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# SPDX-License-Identifier: Apache-2.0

import logging
import os
Expand Down
19 changes: 4 additions & 15 deletions benchexec/outputhandler.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
# BenchExec is a framework for reliable benchmarking.
# This file is part of BenchExec.
# This file is part of BenchExec, a framework for reliable benchmarking:
# https://github.com/sosy-lab/benchexec
#
# Copyright (C) 2007-2015 Dirk Beyer
# All rights reserved.
# SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# SPDX-License-Identifier: Apache-2.0

import bz2
import collections
Expand Down
Loading

0 comments on commit caeb199

Please sign in to comment.