gex
Copyright (C) 2026 Puter Technologies Inc.

gex is free software: you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License, version 3 only, as published
by the Free Software Foundation (see LICENSE).

gex includes third-party code under its own licences, listed below. Each
keeps its original notices in its files.

third_party/wasmtime-49.0.2/
    Wasmtime, by the Bytecode Alliance and its contributors, with local
    changes. Apache-2.0 WITH LLVM-exception (third_party/wasmtime-49.0.2/LICENSE).

crates/gex-cgen/providers/glibc_printf.c
    Formatting core taken from musl libc (src/stdio/vfprintf.c),
    Copyright (C) 2005-2020 Rich Felker et al. MIT licence.

crates/gex-cgen/providers/dlmalloc.inc
    dlmalloc by Doug Lea, released to the public domain (CC0), with
    Emscripten's changes (Copyright the Emscripten authors, MIT licence).

tools/wine-wasm/wine32/oss/sys/soundcard.h
    FreeBSD's sys/soundcard.h (OSSv4 API), Copyright Hannu Savolainen,
    4Front Technologies, Luigi Rizzo and others. BSD-2-Clause (in the file).

web/eject-site/vendor/zstddec-stream.mjs
    zstddec, Copyright (c) 2020 Don McCurdy. MIT licence
    (web/eject-site/vendor/zstddec-LICENSE).

guest/gl/*-generated.inc, web/mesa/*-generated-*.inc
    Generated from the Khronos OpenGL API registry (gl.xml), Copyright
    The Khronos Group Inc. Apache-2.0 (its text is the first part of
    third_party/wasmtime-49.0.2/LICENSE).

web/tint/dawn-tint-emscripten.patch
    Changes to Dawn/Tint, under the licence of the project it applies
    to.

tools/gexcc/patches/libcxx-*.patch
    Changes to LLVM's libc++, under the licence of the project they apply
    to (Apache-2.0 WITH LLVM-exception).

The MIT licence of musl libc and of Emscripten's dlmalloc changes (each
under its copyright line above):

    Permission is hereby granted, free of charge, to any person obtaining
    a copy of this software and associated documentation files (the
    "Software"), to deal in the Software without restriction, including
    without limitation the rights to use, copy, modify, merge, publish,
    distribute, sublicense, and/or sell copies of the Software, and to
    permit persons to whom the Software is furnished to do so, subject to
    the following conditions:

    The above copyright notice and this permission notice shall be
    included in all copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
    IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
    CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
    TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
    SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
