Browse Source

* applied the GPL license with Dmitry's permission

git-svn-id: branches/wasm@46185 -
nickysn 5 years ago
parent
commit
17057abaf1

+ 21 - 0
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 <[email protected]>
+  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 <http://www.gnu.org/copyleft/gpl.html>. 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

+ 21 - 0
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 <[email protected]>
+  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 <http://www.gnu.org/copyleft/gpl.html>. 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}

+ 21 - 0
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 <[email protected]>
+  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 <http://www.gnu.org/copyleft/gpl.html>. 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+}

+ 21 - 0
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 <[email protected]>
+  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 <http://www.gnu.org/copyleft/gpl.html>. 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+}

+ 21 - 0
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 <[email protected]>
+  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 <http://www.gnu.org/copyleft/gpl.html>. 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

+ 21 - 0
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 <[email protected]>
+  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 <http://www.gnu.org/copyleft/gpl.html>. 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+}

+ 21 - 0
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 <[email protected]>
+  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 <http://www.gnu.org/copyleft/gpl.html>. 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+}

+ 21 - 0
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 <[email protected]>
+  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 <http://www.gnu.org/copyleft/gpl.html>. 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+}

+ 21 - 0
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 <[email protected]>
+  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 <http://www.gnu.org/copyleft/gpl.html>. 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

+ 21 - 0
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 <[email protected]>
+  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 <http://www.gnu.org/copyleft/gpl.html>. 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

+ 21 - 0
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 <[email protected]>
+  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 <http://www.gnu.org/copyleft/gpl.html>. 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

+ 21 - 0
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 <[email protected]>
+  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 <http://www.gnu.org/copyleft/gpl.html>. 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

+ 21 - 0
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 <[email protected]>
+  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 <http://www.gnu.org/copyleft/gpl.html>. 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

+ 21 - 0
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 <[email protected]>
+  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 <http://www.gnu.org/copyleft/gpl.html>. 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+}

+ 21 - 0
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 <[email protected]>
+  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 <http://www.gnu.org/copyleft/gpl.html>. 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

+ 21 - 0
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 <[email protected]>
+  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 <http://www.gnu.org/copyleft/gpl.html>. 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+}

+ 21 - 0
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 <[email protected]>
+  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 <http://www.gnu.org/copyleft/gpl.html>. 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+}

+ 21 - 0
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 <[email protected]>
+  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 <http://www.gnu.org/copyleft/gpl.html>. 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+}