lli

Directly execute programs from LLVM bitcode. More information: <https://www.llvm.org/docs/CommandGuide/lli.html>.

Install

All systems
curl cmd.cat/lli.sh
Debian Debian
apt-get install llvm-3.1-runtime
Ubuntu
apt-get install llvm-8-runtime
Alpine
apk add llvm
Arch Arch Linux
pacman -S llvm6
image/svg+xml Kali Linux
apt-get install llvm-7-runtime
CentOS
yum install llvm
Fedora
dnf install llvm3.7
Windows (WSL2)
sudo apt-get update sudo apt-get install llvm-8-runtime
OS X
brew install llvm
Raspbian
apt-get install llvm-3.2-runtime
Docker
docker run cmd.cat/lli lli powered by Commando

Directly execute programs from LLVM bitcode. More information: <https://www.llvm.org/docs/CommandGuide/lli.html>.

  • Execute a bitcode or IR file:
    lli path/to/file.ll
  • Execute with command-line arguments:
    lli path/to/file.ll argument1 argument2 ...
  • Enable all optimizations:
    lli -O3 path/to/file.ll
  • Load a dynamic library before linking:
    lli --dlopen=path/to/library.dll path/to/file.ll

© tl;dr; authors and contributors