Skip to content

Commit 17dcf5c

Browse files
committed
Release specific files under MIT license.
1 parent 92a111b commit 17dcf5c

3 files changed

Lines changed: 25 additions & 14 deletions

File tree

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ rewrite `x86_64` Linux ELF binaries
5656
***without modifying the set of jump targets***.
5757
To do so, E9Patch uses a set of novel low-level binary rewriting
5858
techniques, such as *instruction punning, padding and eviction* that can
59-
insert or replace binary code *without the need to move existing
60-
instructions*.
59+
insert or replace binary code without the need to move existing
60+
instructions.
6161
Since existing instructions are not moved, the set of jump targets
6262
remains unchanged, meaning that calls/jumps do not need to be corrected
6363
(including cross binary calls/jumps).
@@ -248,6 +248,9 @@ has been improved.
248248

249249
This software has been released under the GNU Public License (GPL) Version 3.
250250

251+
Some specific files are released under the MIT license (check the file
252+
preamble).
253+
251254
## Acknowledgements
252255

253256
This work was partially supported by the National Satellite of Excellence in

examples/plugins/example.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
2020
* IN THE SOFTWARE.
2121
*
22-
* NOTE: This file (and only this file) is under the MIT license, whereas
23-
* the rest of the E9Tool/E9Patch source code is GPLv3.
22+
* NOTE: As a special exception, this file is under the MIT license. The
23+
* rest of the E9Patch/E9Tool source code is under the GPLv3 license.
2424
*/
2525

2626
/*

src/e9patch/e9loader.cpp

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,26 @@
22
* e9loader.cpp
33
* Copyright (C) 2020 National University of Singapore
44
*
5-
* This program is free software: you can redistribute it and/or modify
6-
* it 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.
5+
* Permission is hereby granted, free of charge, to any person obtaining a copy
6+
* of this software and associated documentation files (the "Software"), to
7+
* deal in the Software without restriction, including without limitation the
8+
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
9+
* sell copies of the Software, and to permit persons to whom the Software is
10+
* furnished to do so, subject to the following conditions:
911
*
10-
* This program is distributed in the hope that it will be useful,
11-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
* GNU General Public License for more details.
12+
* The above copyright notice and this permission notice shall be included in
13+
* all copies or substantial portions of the Software.
1414
*
15-
* You should have received a copy of the GNU General Public License
16-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21+
* IN THE SOFTWARE.
22+
*
23+
* NOTE: As a special exception, this file is under the MIT license. The
24+
* rest of the E9Patch/E9Tool source code is under the GPLv3 license.
1725
*/
1826

1927
#include <cerrno>

0 commit comments

Comments
 (0)