Skip to content

Commit 0654530

Browse files
committed
Add GPLv3 license headers to all source files
1 parent 1ae5585 commit 0654530

Some content is hidden

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

71 files changed

+1262
-2
lines changed

Makefile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# Copyright 2011 David Malcolm <dmalcolm@redhat.com>
2+
# Copyright 2011 Red Hat, Inc.
3+
#
4+
# This is free software: you can redistribute it and/or modify it
5+
# under the terms of the GNU General Public License as published by
6+
# the Free Software Foundation, either version 3 of the License, or
7+
# (at your option) any later version.
8+
#
9+
# This program is distributed in the hope that it will be useful, but
10+
# WITHOUT ANY WARRANTY; without even the implied warranty of
11+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
# General Public License for more details.
13+
#
14+
# You should have received a copy of the GNU General Public License
15+
# along with this program. If not, see
16+
# <http://www.gnu.org/licenses/>.
17+
118
GCC=gcc
219

320
PLUGIN_SOURCE_FILES= \

cpybuilder.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# Copyright 2011 David Malcolm <dmalcolm@redhat.com>
2+
# Copyright 2011 Red Hat, Inc.
3+
#
4+
# This is free software: you can redistribute it and/or modify it
5+
# under the terms of the GNU General Public License as published by
6+
# the Free Software Foundation, either version 3 of the License, or
7+
# (at your option) any later version.
8+
#
9+
# This program is distributed in the hope that it will be useful, but
10+
# WITHOUT ANY WARRANTY; without even the implied warranty of
11+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
# General Public License for more details.
13+
#
14+
# You should have received a copy of the GNU General Public License
15+
# along with this program. If not, see
16+
# <http://www.gnu.org/licenses/>.
17+
118
from subprocess import Popen, PIPE
219
import re
320

cpychecker.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,19 @@
1+
# Copyright 2011 David Malcolm <dmalcolm@redhat.com>
2+
# Copyright 2011 Red Hat, Inc.
3+
#
4+
# This is free software: you can redistribute it and/or modify it
5+
# under the terms of the GNU General Public License as published by
6+
# the Free Software Foundation, either version 3 of the License, or
7+
# (at your option) any later version.
8+
#
9+
# This program is distributed in the hope that it will be useful, but
10+
# WITHOUT ANY WARRANTY; without even the implied warranty of
11+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
# General Public License for more details.
13+
#
14+
# You should have received a copy of the GNU General Public License
15+
# along with this program. If not, see
16+
# <http://www.gnu.org/licenses/>.
17+
118
from libcpychecker import main
219
main()

demo.c

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*
2+
Copyright 2011 David Malcolm <dmalcolm@redhat.com>
3+
Copyright 2011 Red Hat, Inc.
4+
5+
This is free software: you can redistribute it and/or modify it
6+
under the terms of the GNU General Public License as published by
7+
the Free Software Foundation, either version 3 of the License, or
8+
(at your option) any later version.
9+
10+
This program is distributed in the hope that it will be useful, but
11+
WITHOUT ANY WARRANTY; without even the implied warranty of
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13+
General Public License for more details.
14+
15+
You should have received a copy of the GNU General Public License
16+
along with this program. If not, see
17+
<http://www.gnu.org/licenses/>.
18+
*/
19+
120
/* Examples of mistakes made using the Python API */
221
#include <Python.h>
322

docs/basics.rst

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
1+
.. Copyright 2011 David Malcolm <dmalcolm@redhat.com>
2+
Copyright 2011 Red Hat, Inc.
13
2-
.. For documenting Python in RST form, see e.g.:
3-
.. http://sphinx.pocoo.org/domains.html#the-python-domain
4+
This is free software: you can redistribute it and/or modify it
5+
under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
8+
9+
This program is distributed in the hope that it will be useful, but
10+
WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
General Public License for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with this program. If not, see
16+
<http://www.gnu.org/licenses/>.
17+
18+
.. For notes on how to document Python in RST form, see e.g.:
19+
.. http://sphinx.pocoo.org/domains.html#the-python-domain
420
521
.. py:currentmodule:: gcc
622

docs/cfg.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
.. Copyright 2011 David Malcolm <dmalcolm@redhat.com>
2+
Copyright 2011 Red Hat, Inc.
3+
4+
This is free software: you can redistribute it and/or modify it
5+
under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
8+
9+
This program is distributed in the hope that it will be useful, but
10+
WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
General Public License for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with this program. If not, see
16+
<http://www.gnu.org/licenses/>.
17+
118
Working with functions and control flow graphs
219
==============================================
320

docs/conf.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# Copyright 2011 David Malcolm <dmalcolm@redhat.com>
2+
# Copyright 2011 Red Hat, Inc.
3+
#
4+
# This is free software: you can redistribute it and/or modify it
5+
# under the terms of the GNU General Public License as published by
6+
# the Free Software Foundation, either version 3 of the License, or
7+
# (at your option) any later version.
8+
#
9+
# This program is distributed in the hope that it will be useful, but
10+
# WITHOUT ANY WARRANTY; without even the implied warranty of
11+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
# General Public License for more details.
13+
#
14+
# You should have received a copy of the GNU General Public License
15+
# along with this program. If not, see
16+
# <http://www.gnu.org/licenses/>.
17+
118
# -*- coding: utf-8 -*-
219
#
320
# gcc-python-plugin documentation build configuration file, created by

docs/cpychecker.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
.. Copyright 2011 David Malcolm <dmalcolm@redhat.com>
2+
Copyright 2011 Red Hat, Inc.
3+
4+
This is free software: you can redistribute it and/or modify it
5+
under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
8+
9+
This program is distributed in the hope that it will be useful, but
10+
WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
General Public License for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with this program. If not, see
16+
<http://www.gnu.org/licenses/>.
17+
118
Usage example: a static analysis tool for CPython extension code
219
================================================================
320

docs/gimple.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
.. Copyright 2011 David Malcolm <dmalcolm@redhat.com>
2+
Copyright 2011 Red Hat, Inc.
3+
4+
This is free software: you can redistribute it and/or modify it
5+
under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
8+
9+
This program is distributed in the hope that it will be useful, but
10+
WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
General Public License for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with this program. If not, see
16+
<http://www.gnu.org/licenses/>.
17+
118
Gimple statements
219
=================
320

docs/index.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
.. Copyright 2011 David Malcolm <dmalcolm@redhat.com>
2+
Copyright 2011 Red Hat, Inc.
3+
4+
This is free software: you can redistribute it and/or modify it
5+
under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
8+
9+
This program is distributed in the hope that it will be useful, but
10+
WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
General Public License for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with this program. If not, see
16+
<http://www.gnu.org/licenses/>.
17+
118
.. gcc-python-plugin documentation master file, created by
219
sphinx-quickstart on Wed Jun 1 15:53:48 2011.
320
You can adapt this file completely to your liking, but it should at least

0 commit comments

Comments
 (0)