#l1x #wasm-file #llvm #llvm-ir #translates #translator #llvmir

bin+lib l1x-wasm-llvmir

WASM to LLVMIR translator for the L1X project

1 unstable release

0.2.1 Apr 25, 2024

#508 in WebAssembly

Download history 135/week @ 2024-04-25 9/week @ 2024-05-02

144 downloads per month
Used in cargo-l1x

Apache-2.0

135KB
3K SLoC

WASM to LLVM IR code transaltor

Translates a WASM file to L1X VM llvmir repesentation. Used by cargo-l1x

Requirements:

llvm-15

Build:

cargo build

Test

cargo test

Run:

cargo run some.wasm -o some.ll

Create eBPF object file:

Require installed llvm-17

./build_ebpf.sh some.ll

Dependencies

~26–35MB
~612K SLoC