gmh5225 / vicis

Manipulate LLVM-IR in Pure Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vicis

CI codecov discussions

Manipulate LLVM IR in pure Rust (without LLVM).

Feel free to create issues and pull requests!

Requirements

  • Vicis itself is not depending on llvm
    • However, I sometimes use llvm 13 for testing. (e.g. parsing the llvm-ir clang-13 emitted by vicis)

Examples

  • Parse and dump *.ll file
cargo run --example parse FILE.ll
  • Interpret *.ll file
cargo run --example interpreter FILE.ll # --release

About

Manipulate LLVM-IR in Pure Rust

License:MIT License


Languages

Language:Rust 78.6%Language:LLVM 21.4%