Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
binaryen-rb
A small gem which vendors binaryen
releases for easy use from Ruby. It includes the following executables:
Here's a version of the table with the descriptions shortened to a single sentence:
exe | description |
---|---|
wasm-split | Splits a module into a primary and a secondary module, or instruments a module to gather a profile for future splitting. |
wasm-ctor-eval | Executes code at compile time. |
wasm-merge | Merges multiple wasm files into one. |
wasm-reduce | Reduces a wasm file to a smaller one with the same behavior on a given command. |
wasm-metadce | Performs dead code elimination (DCE) on a larger space that the wasm module is just a part of. |
wasm-shell | Executes .wast files. |
wasm-fuzz-types | Fuzzes type construction, canonicalization, and operations. |
wasm-fuzz-lattices | Fuzzes lattices for reflexivity, transitivity, and anti-symmetry, and transfer functions for monotonicity. |
wasm-emscripten-finalize | Performs Emscripten-specific transforms on .wasm files. |
wasm-as | Assembles a .wat (WebAssembly text format) into a .wasm (WebAssembly binary format). |
wasm-opt | Reads, writes, and optimizes files. |
wasm-dis | Un-assembles a .wasm (WebAssembly binary format) into a .wat (WebAssembly text format). |
wasm2js | Transforms .wasm/.wat files to asm.js. |
Please note that these are simplified descriptions and may not fully capture the functionality of each command. For a complete understanding, refer to the original descriptions or the respective command's documentation.
It also include libinaryen
and it's corresponding header files, if you need them.
Add the following to your Gemfile:
gem "binaryen"
Then run bundle install
.
This library only contains vendored executables, and minimal Ruby code to invoke
them. You can see some examples of how to use this gem in the
./examples
directory.
./examples/wasm_opt.rb
- Optimize a WebAssembly module./examples/wasm_split.rb
- Strip a WebAssembly moduleBug reports and pull requests are welcome on GitHub at https://github.com/Shopify/binaryen-rb. Signing Shopify's CLA is a mandatory when opening, you will be prompted to do so by a Github action.
Read and follow the guidelines in CONTRIBUTING.md.
This gem is published to Rubygems.
The procedure to publish a new release version is as follows:
lib/binaryen/version.rb
to a valid binaryen
release versionGemfile.lock
lib/binaryen/version.rb
. Pick the Create new tag
option. More on creating releasesFAQs
Unknown package
We found that binaryen demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.