| Crates.io | wasmadder |
| lib.rs | wasmadder |
| version | 0.1.4 |
| created_at | 2024-12-13 09:03:05.578604+00 |
| updated_at | 2024-12-13 15:45:10.633009+00 |
| description | A CLI Tool for modifying WebAssembly binaries |
| homepage | https://github.com/TitusVM/wasmadder |
| repository | https://github.com/TitusVM/wasmadder |
| max_upload_size | |
| id | 1481981 |
| size | 14,977 |
wasmadder is a tiny command-line tool for adding data to custom sections in WebAssembly binaries.
Build from source using Cargo:
git clone https://github.com/yourusername/wasmadder.git
cd wasmadder
cargo build --release
wasmadder add --input <input.wasm> --data <data.bin> --section <section_name> --output <output.wasm>
-i, --input: Input WebAssembly binary file (required)-d, --data: Data file to be added (required)-s, --section: Custom section name (required)-o, --output: Output WebAssembly file (required)wasmadder add \
--input input.wasm \
--data data.bin \
--section my_custom_section \
--output output.wasm
This command first compresses then adds the contents of
data.bin
into the custom section my_custom_section of
input.wasm
and saves the result as
output.wasm
.
This project is licensed under the MIT License or the Apache License 2.0, at your option.