From 17057abaf1815c3c8e2dea88831589e469205334 Mon Sep 17 00:00:00 2001 From: nickysn Date: Mon, 3 Aug 2020 13:07:03 +0000 Subject: [PATCH] * applied the GPL license with Dmitry's permission git-svn-id: branches/wasm@46185 - --- utils/wasmbin/lebutils.pas | 21 +++++++++++++++++++++ utils/wasmbin/parseutils.pas | 21 +++++++++++++++++++++ utils/wasmbin/wasa.pas | 21 +++++++++++++++++++++ utils/wasmbin/wasmbin.pas | 21 +++++++++++++++++++++ utils/wasmbin/wasmbincode.pas | 21 +++++++++++++++++++++ utils/wasmbin/wasmbindebug.pas | 21 +++++++++++++++++++++ utils/wasmbin/wasmbinwriter.pas | 21 +++++++++++++++++++++ utils/wasmbin/wasmld.lpr | 21 +++++++++++++++++++++ utils/wasmbin/wasmlink.pas | 21 +++++++++++++++++++++ utils/wasmbin/wasmlinkchange.pas | 21 +++++++++++++++++++++ utils/wasmbin/wasmmodule.pas | 21 +++++++++++++++++++++ utils/wasmbin/wasmnormalize.pas | 21 +++++++++++++++++++++ utils/wasmbin/wasmtext.pas | 21 +++++++++++++++++++++ utils/wasmbin/wasmtool.lpr | 21 +++++++++++++++++++++ utils/wasmbin/wasmtoolutils.pas | 21 +++++++++++++++++++++ utils/wasmbin/watparser.pas | 21 +++++++++++++++++++++ utils/wasmbin/watscanner.pas | 21 +++++++++++++++++++++ utils/wasmbin/wattest.lpr | 21 +++++++++++++++++++++ 18 files changed, 378 insertions(+) diff --git a/utils/wasmbin/lebutils.pas b/utils/wasmbin/lebutils.pas index b34dfd50be..0ca50ecd7b 100644 --- a/utils/wasmbin/lebutils.pas +++ b/utils/wasmbin/lebutils.pas @@ -1,3 +1,24 @@ +{ This file is part of wasmbin - a collection of WebAssembly binary utils. + + Copyright (C) 2019, 2020 Dmitry Boyarintsev + Copyright (C) 2020 by the Free Pascal development team + + This source is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This code is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + A copy of the GNU General Public License is available on the World Wide Web + at . You can also obtain it by writing + to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1335, USA. +} + unit lebutils; interface diff --git a/utils/wasmbin/parseutils.pas b/utils/wasmbin/parseutils.pas index a2687aa2d5..898f815b6b 100644 --- a/utils/wasmbin/parseutils.pas +++ b/utils/wasmbin/parseutils.pas @@ -1,3 +1,24 @@ +{ This file is part of wasmbin - a collection of WebAssembly binary utils. + + Copyright (C) 2019, 2020 Dmitry Boyarintsev + Copyright (C) 2020 by the Free Pascal development team + + This source is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This code is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + A copy of the GNU General Public License is available on the World Wide Web + at . You can also obtain it by writing + to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1335, USA. +} + unit parseutils; {$ifdef fpc}{$mode delphi}{$h+}{$endif} diff --git a/utils/wasmbin/wasa.pas b/utils/wasmbin/wasa.pas index 730f24b99d..90894f659b 100644 --- a/utils/wasmbin/wasa.pas +++ b/utils/wasmbin/wasa.pas @@ -1,3 +1,24 @@ +{ This file is part of wasmbin - a collection of WebAssembly binary utils. + + Copyright (C) 2019, 2020 Dmitry Boyarintsev + Copyright (C) 2020 by the Free Pascal development team + + This source is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This code is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + A copy of the GNU General Public License is available on the World Wide Web + at . You can also obtain it by writing + to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1335, USA. +} + program wasa; {$mode objfpc}{$H+} diff --git a/utils/wasmbin/wasmbin.pas b/utils/wasmbin/wasmbin.pas index dcf0093fb7..388e9ea5b1 100644 --- a/utils/wasmbin/wasmbin.pas +++ b/utils/wasmbin/wasmbin.pas @@ -1,3 +1,24 @@ +{ This file is part of wasmbin - a collection of WebAssembly binary utils. + + Copyright (C) 2019, 2020 Dmitry Boyarintsev + Copyright (C) 2020 by the Free Pascal development team + + This source is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This code is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + A copy of the GNU General Public License is available on the World Wide Web + at . You can also obtain it by writing + to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1335, USA. +} + unit wasmbin; {$mode objfpc}{$H+} diff --git a/utils/wasmbin/wasmbincode.pas b/utils/wasmbin/wasmbincode.pas index 035dcaa6ee..7c91008348 100644 --- a/utils/wasmbin/wasmbincode.pas +++ b/utils/wasmbin/wasmbincode.pas @@ -1,3 +1,24 @@ +{ This file is part of wasmbin - a collection of WebAssembly binary utils. + + Copyright (C) 2019, 2020 Dmitry Boyarintsev + Copyright (C) 2020 by the Free Pascal development team + + This source is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This code is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + A copy of the GNU General Public License is available on the World Wide Web + at . You can also obtain it by writing + to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1335, USA. +} + unit wasmbincode; // WebAssembly instructions information // http://webassembly.github.io/spec/core/binary/instructions.html diff --git a/utils/wasmbin/wasmbindebug.pas b/utils/wasmbin/wasmbindebug.pas index cc4c4e8ef0..4ac290333e 100644 --- a/utils/wasmbin/wasmbindebug.pas +++ b/utils/wasmbin/wasmbindebug.pas @@ -1,3 +1,24 @@ +{ This file is part of wasmbin - a collection of WebAssembly binary utils. + + Copyright (C) 2019, 2020 Dmitry Boyarintsev + Copyright (C) 2020 by the Free Pascal development team + + This source is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This code is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + A copy of the GNU General Public License is available on the World Wide Web + at . You can also obtain it by writing + to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1335, USA. +} + unit wasmbindebug; {$mode objfpc}{$H+} diff --git a/utils/wasmbin/wasmbinwriter.pas b/utils/wasmbin/wasmbinwriter.pas index 319bea999d..288bcb9bf6 100644 --- a/utils/wasmbin/wasmbinwriter.pas +++ b/utils/wasmbin/wasmbinwriter.pas @@ -1,3 +1,24 @@ +{ This file is part of wasmbin - a collection of WebAssembly binary utils. + + Copyright (C) 2019, 2020 Dmitry Boyarintsev + Copyright (C) 2020 by the Free Pascal development team + + This source is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This code is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + A copy of the GNU General Public License is available on the World Wide Web + at . You can also obtain it by writing + to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1335, USA. +} + unit wasmbinwriter; {$mode objfpc}{$H+} diff --git a/utils/wasmbin/wasmld.lpr b/utils/wasmbin/wasmld.lpr index 3e2e7e704c..054a3bef4b 100644 --- a/utils/wasmbin/wasmld.lpr +++ b/utils/wasmbin/wasmld.lpr @@ -1,3 +1,24 @@ +{ This file is part of wasmbin - a collection of WebAssembly binary utils. + + Copyright (C) 2019, 2020 Dmitry Boyarintsev + Copyright (C) 2020 by the Free Pascal development team + + This source is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This code is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + A copy of the GNU General Public License is available on the World Wide Web + at . You can also obtain it by writing + to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1335, USA. +} + program wasmld; {$mode objfpc}{$H+} diff --git a/utils/wasmbin/wasmlink.pas b/utils/wasmbin/wasmlink.pas index fa6c900b25..6c2aebf408 100644 --- a/utils/wasmbin/wasmlink.pas +++ b/utils/wasmbin/wasmlink.pas @@ -1,3 +1,24 @@ +{ This file is part of wasmbin - a collection of WebAssembly binary utils. + + Copyright (C) 2019, 2020 Dmitry Boyarintsev + Copyright (C) 2020 by the Free Pascal development team + + This source is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This code is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + A copy of the GNU General Public License is available on the World Wide Web + at . You can also obtain it by writing + to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1335, USA. +} + unit wasmlink; // The unit covers the WebAssembly static linking convention // as described at https://github.com/WebAssembly/tool-conventions/blob/master/Linking.md diff --git a/utils/wasmbin/wasmlinkchange.pas b/utils/wasmbin/wasmlinkchange.pas index 42d12c847e..37d73f60fb 100644 --- a/utils/wasmbin/wasmlinkchange.pas +++ b/utils/wasmbin/wasmlinkchange.pas @@ -1,3 +1,24 @@ +{ This file is part of wasmbin - a collection of WebAssembly binary utils. + + Copyright (C) 2019, 2020 Dmitry Boyarintsev + Copyright (C) 2020 by the Free Pascal development team + + This source is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This code is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + A copy of the GNU General Public License is available on the World Wide Web + at . You can also obtain it by writing + to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1335, USA. +} + unit wasmlinkchange; interface diff --git a/utils/wasmbin/wasmmodule.pas b/utils/wasmbin/wasmmodule.pas index 486c7fca77..6a1765acdf 100644 --- a/utils/wasmbin/wasmmodule.pas +++ b/utils/wasmbin/wasmmodule.pas @@ -1,3 +1,24 @@ +{ This file is part of wasmbin - a collection of WebAssembly binary utils. + + Copyright (C) 2019, 2020 Dmitry Boyarintsev + Copyright (C) 2020 by the Free Pascal development team + + This source is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This code is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + A copy of the GNU General Public License is available on the World Wide Web + at . You can also obtain it by writing + to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1335, USA. +} + unit wasmmodule; interface diff --git a/utils/wasmbin/wasmnormalize.pas b/utils/wasmbin/wasmnormalize.pas index c59e831ec7..5c12a17b9b 100644 --- a/utils/wasmbin/wasmnormalize.pas +++ b/utils/wasmbin/wasmnormalize.pas @@ -1,3 +1,24 @@ +{ This file is part of wasmbin - a collection of WebAssembly binary utils. + + Copyright (C) 2019, 2020 Dmitry Boyarintsev + Copyright (C) 2020 by the Free Pascal development team + + This source is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This code is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + A copy of the GNU General Public License is available on the World Wide Web + at . You can also obtain it by writing + to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1335, USA. +} + unit wasmnormalize; interface diff --git a/utils/wasmbin/wasmtext.pas b/utils/wasmbin/wasmtext.pas index df08cf9eca..c7e02a7cdc 100644 --- a/utils/wasmbin/wasmtext.pas +++ b/utils/wasmbin/wasmtext.pas @@ -1,3 +1,24 @@ +{ This file is part of wasmbin - a collection of WebAssembly binary utils. + + Copyright (C) 2019, 2020 Dmitry Boyarintsev + Copyright (C) 2020 by the Free Pascal development team + + This source is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This code is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + A copy of the GNU General Public License is available on the World Wide Web + at . You can also obtain it by writing + to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1335, USA. +} + unit wasmtext; interface diff --git a/utils/wasmbin/wasmtool.lpr b/utils/wasmbin/wasmtool.lpr index dbf2d4c77b..9abc0a4570 100644 --- a/utils/wasmbin/wasmtool.lpr +++ b/utils/wasmbin/wasmtool.lpr @@ -1,3 +1,24 @@ +{ This file is part of wasmbin - a collection of WebAssembly binary utils. + + Copyright (C) 2019, 2020 Dmitry Boyarintsev + Copyright (C) 2020 by the Free Pascal development team + + This source is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This code is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + A copy of the GNU General Public License is available on the World Wide Web + at . You can also obtain it by writing + to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1335, USA. +} + program wasmtool; {$mode objfpc}{$H+} diff --git a/utils/wasmbin/wasmtoolutils.pas b/utils/wasmbin/wasmtoolutils.pas index b252a129d8..2fa2c473f7 100644 --- a/utils/wasmbin/wasmtoolutils.pas +++ b/utils/wasmbin/wasmtoolutils.pas @@ -1,3 +1,24 @@ +{ This file is part of wasmbin - a collection of WebAssembly binary utils. + + Copyright (C) 2019, 2020 Dmitry Boyarintsev + Copyright (C) 2020 by the Free Pascal development team + + This source is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This code is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + A copy of the GNU General Public License is available on the World Wide Web + at . You can also obtain it by writing + to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1335, USA. +} + unit wasmtoolutils; interface diff --git a/utils/wasmbin/watparser.pas b/utils/wasmbin/watparser.pas index c7e5581171..9e2137e944 100644 --- a/utils/wasmbin/watparser.pas +++ b/utils/wasmbin/watparser.pas @@ -1,3 +1,24 @@ +{ This file is part of wasmbin - a collection of WebAssembly binary utils. + + Copyright (C) 2019, 2020 Dmitry Boyarintsev + Copyright (C) 2020 by the Free Pascal development team + + This source is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This code is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + A copy of the GNU General Public License is available on the World Wide Web + at . You can also obtain it by writing + to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1335, USA. +} + unit watparser; {$mode delphi}{$H+} diff --git a/utils/wasmbin/watscanner.pas b/utils/wasmbin/watscanner.pas index b2bee0d48c..e7e520fd51 100644 --- a/utils/wasmbin/watscanner.pas +++ b/utils/wasmbin/watscanner.pas @@ -1,3 +1,24 @@ +{ This file is part of wasmbin - a collection of WebAssembly binary utils. + + Copyright (C) 2019, 2020 Dmitry Boyarintsev + Copyright (C) 2020 by the Free Pascal development team + + This source is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This code is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + A copy of the GNU General Public License is available on the World Wide Web + at . You can also obtain it by writing + to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1335, USA. +} + unit watscanner; {$mode delphi}{$H+} diff --git a/utils/wasmbin/wattest.lpr b/utils/wasmbin/wattest.lpr index 3606333dde..bd3201fb41 100644 --- a/utils/wasmbin/wattest.lpr +++ b/utils/wasmbin/wattest.lpr @@ -1,3 +1,24 @@ +{ This file is part of wasmbin - a collection of WebAssembly binary utils. + + Copyright (C) 2019, 2020 Dmitry Boyarintsev + Copyright (C) 2020 by the Free Pascal development team + + This source is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This code is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + A copy of the GNU General Public License is available on the World Wide Web + at . You can also obtain it by writing + to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1335, USA. +} + program wattest; {$mode objfpc}{$H+}