Manipulate LLVM IR without LLVM!

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • Mergify - Tired of breaking your main and manually rebasing outdated pull requests?
  • SonarLint - Clean code begins in your IDE with SonarLint
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • mollusc

    Pure-Rust libraries for parsing, interpreting, and analyzing LLVM

    Currently it's not possible to load bytecode modules. It only supports loading (textual) LLVM IR modules (not lazily). I know https://github.com/woodruffw/mollusc is a library that loads bytecode modules, but not sure it's sufficient for your purpose.

  • vicis

    Manipulate LLVM-IR in Pure Rust

    Of course, it can generate LLVM IR (just println!("{}", module);). I think you can even write a compiler with it. If you have any questions, feel free to ask me at https://github.com/maekawatoshiki/vicis/discussions/8. thanks!

  • Mergify

    Tired of breaking your main and manually rebasing outdated pull requests?. Managing outdated pull requests is time-consuming. Mergify's Merge Queue automates your pull request management & merging. It's fully integrated to GitHub & coordinated with any CI. Start focusing on code. Try Mergify for free.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts