- This repository has the tools and binaries that would allow you to compile your Tainted Definitions into a static library.
- This Static library can simply be linked with your checkcbox compiled code, whilst compilation.
- execute
cd unsafe_code_goes_in_here
make
- Execute
wasm2c -o <file_name>_wasm.c <file_name>.wasm
- This will generate for you <file_name>_wasm.c and .h files
- Repeat this for each and every Tainted definition file you have
mv lib_wasm.c lib_wasm.h ../wasm_readable_definitions/
cd ..
cmake -S . -B ./build
cmake --build ./build --parallel