# devel/binaryen - The NetBSD Packages Collection

Compiler and toolchain infrastructure library for WebAssembly

    Binaryen is a compiler and toolchain infrastructure library for WebAssembly,
    written in C++. It aims to make compiling to WebAssembly easy, fast, and
    effective.

    * Easy: Binaryen has a simple C API in a single header, and can also be used
      from JavaScript. It accepts input in WebAssembly-like form but also accepts
      a general control flow graph for compilers that prefer that.

    * Fast: Binaryen's internal IR uses compact data structures and is designed
      for completely parallel codegen and optimization, using all available CPU
      cores. Binaryen's IR also compiles down to WebAssembly extremely easily and
      quickly because it is essentially a subset of WebAssembly.

    * Effective: Binaryen's optimizer has many passes (see an overview later
      down) that can improve code size and speed. These optimizations aim to
      make Binaryen powerful enough to be used as a compiler backend by itself.
      One specific area of focus is on WebAssembly-specific optimizations (that
      general-purpose compilers might not do), which you can think of as wasm
      minification, similar to minification for JavaScript, CSS, etc., all of
      which are language-specific.

- Source version: `binaryen-116`
- Maintainer: pkgsrc-users AT NetBSD.org
- Website: https://github.com/WebAssembly/binaryen/
- License: apache-2.0
- Package history: cvs, hg, git

## Build dependencies

lang/python313 lang/python313 devel/cmake pkgtools/mktools pkgtools/cwrappers

## Runtime dependencies

(none)

## Binary packages

OS | Architecture | Version
--- | --- | ---
NetBSD 10.0 | aarch64 | binaryen-116.tgz
NetBSD 10.0 | aarch64 | binaryen-116.tgz
NetBSD 10.0 | aarch64eb | binaryen-116.tgz
NetBSD 10.0 | alpha | binaryen-116.tgz
NetBSD 10.0 | alpha | binaryen-116.tgz
NetBSD 10.0 | earmv6hf | binaryen-116.tgz
NetBSD 10.0 | earmv6hf | binaryen-116.tgz
NetBSD 10.0 | earmv7hf | binaryen-116.tgz
NetBSD 10.0 | earmv7hf | binaryen-116.tgz
NetBSD 10.0 | i386 | binaryen-116.tgz
NetBSD 10.0 | i386 | binaryen-116.tgz
NetBSD 10.0 | powerpc | binaryen-116.tgz
NetBSD 10.0 | powerpc | binaryen-116.tgz
NetBSD 10.0 | powerpc | binaryen-116.tgz
NetBSD 10.0 | sparc64 | binaryen-116.tgz
NetBSD 10.0 | sparc64 | binaryen-116.tgz
NetBSD 10.0 | x86_64 | binaryen-116.tgz
NetBSD 10.0 | x86_64 | binaryen-116.tgz
NetBSD 11.0 | aarch64 | binaryen-116.tgz
NetBSD 11.0 | aarch64eb | binaryen-116.tgz
NetBSD 11.0 | earmv6hf | binaryen-116.tgz
NetBSD 11.0 | earmv7hf | binaryen-116.tgz
NetBSD 11.0 | i386 | binaryen-116.tgz
NetBSD 11.0 | riscv64 | binaryen-116.tgz
NetBSD 11.0 | x86_64 | binaryen-116.tgz
NetBSD 9.0 | aarch64 | binaryen-116.tgz
NetBSD 9.0 | aarch64 | binaryen-116.tgz
NetBSD 9.0 | earmv6hf | binaryen-116.tgz
NetBSD 9.0 | earmv6hf | binaryen-116.tgz
NetBSD 9.0 | earmv7hf | binaryen-116.tgz
NetBSD 9.0 | earmv7hf | binaryen-116.tgz
NetBSD 9.0 | i386 | binaryen-116.tgz
NetBSD 9.0 | i386 | binaryen-116.tgz
NetBSD 9.0 | powerpc | binaryen-116.tgz
NetBSD 9.0 | x86_64 | binaryen-116.tgz
NetBSD 9.0 | x86_64 | binaryen-116.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

## Available build options

tests
  Build and install tests.

## Known vulnerabilities

- a open stack-overflow vulnerability
- a open denial-of-service vulnerability

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.