Anonymous
Authors/Creators
Description
# SWAM
This artifact contains the prototype implementation of SWAM.
Due to Zenodo constraints, we recommend download `swam.zip` for better visuality.
## Dependencies
The Wasm custom mutator requires the Binaryen C API (`binaryen-c.h`, `libbinaryen.so`).
## Build
```bash
make -C aflpp -j"$(nproc)"
# Binaryen configuration (choose one):
# 1) BINARYEN_PATH=/path/to/binaryen/build-release
# 2) BINARYEN_INC=/path/to/include and BINARYEN_LIB=/path/to/lib
BINARYEN_PATH=/path/to/binaryen/build-release \
make -C aflpp/custom_mutators/wasm -j"$(nproc)"
```
## Run
In this artifact, `afl-fuzz` only supports `AFL_CUSTOM_MUTATOR_ONLY=1`.
```bash
export AFL_CUSTOM_MUTATOR_LIBRARY="$PWD/aflpp/custom_mutators/wasm/libwasmmutator.so"
export AFL_CUSTOM_MUTATOR_ONLY=1
./aflpp/afl-fuzz -i seeds -o out -- ./target @@
```
## More documentation
- [aflpp/custom_mutators/wasm/README.md](aflpp/custom_mutators/wasm/README.md)
- [aflpp/custom_mutators/wasm/BINARYEN_DEPENDENCY.md](aflpp/custom_mutators/wasm/BINARYEN_DEPENDENCY.md)
- [scripts/README.md](scripts/README.md)
- [spec/README.md](spec/README.md)
- [tools/DIFF_PIPELINE.md](tools/DIFF_PIPELINE.md)
- Benchmarks: `benchmarks/`
- Baselines: `baselines/`
Files
swam.zip
Files
(3.7 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:45c9f2ed613c83c3e5070e62fd837623
|
1.4 kB | Preview Download |
|
md5:b5b187787f031cb5b3ee089451c623b8
|
1.0 kB | Download |
|
md5:2220d29618c4c550782059190a82e59b
|
4.9 kB | Preview Download |
|
md5:164ab333d2af401314cbc4415130b1c2
|
1.0 kB | Preview Download |
|
md5:5a4a7469528d3ab990f1c4c6df12f7b0
|
3.1 kB | Download |
|
md5:090237c55b6f1cefd0b7832521aa2bcc
|
3.3 kB | Download |
|
md5:bb237c3ff8649ae0bf514afdff3b0133
|
1.3 kB | Preview Download |
|
md5:17bf2a37d6e9355b1cf4c5a5a81a546c
|
3.4 kB | Download |
|
md5:61163c344e00081a8e1852e762a671e7
|
2.8 kB | Download |
|
md5:6b81c9200c0bcb2ed32412da6c2aae5e
|
3.7 MB | Preview Download |
|
md5:3eaa1a8877dfb15c2bc3a8a3d1c85b90
|
35.5 kB | Download |
|
md5:41284024da5c21fa08264ed086c49a3b
|
3.3 kB | Download |
|
md5:22fad6ce408bcdd420a66c8d20418979
|
2.4 kB | Download |
|
md5:a173128c88b136c6d4fb60d25a7a753f
|
792 Bytes | Download |
|
md5:4ecafcfcf96349382337e686b321abf1
|
1.7 kB | Download |
|
md5:6352c385a9673a4767853eb3f8019f1e
|
1.3 kB | Download |