LLVM-FLOW is an open-source project that provides interactive visualization of LLVM IR Control Flow Graphs (CFG). With LLVM-FLOW , users can easily compare the CFG before and after optimization.
The tool can be accessed either through the LLVM-FLOW website or by running it directly on your local environment via Docker.
👉 visit https://llvmflow.kc-ml2.com/
To run this project with Docker, first, you'll need to install Docker on your machine. Once you've installed Docker, follow these steps:
- Clone the repository:
git clone https://github.com/kc-ml2/llvm-flow.git
- Build the Docker image:
docker build -t llvm-flow .
- Run the Docker container:
docker run -p 8000:8000 -p 3000:3000 llvm-flow
This will start the application on http://localhost:3000
- Detect the same Basic Block between IR modules
- Switch the mode of CFG
- Switch modes only for certain nodes
- Move the node
- Find the target&source node of the edge
- Resize the
div
- Change the direction of CFG
- Zoom in / Zoom out
- Download
.ll
files - Query uploaded history from board page
┌── llvm-flow-backend
│ ├── backend
| └ backend # settings, urls
| └ llvmcfg # main fetures
|
├── llvm-flow-frontend
│ ├── src
| └ components
| └ modules # common components
| └ pages # page components
|
└── Dockerfile
- Please make a new branch instead of the current basic branch (ex. main) and work on it.
- If there is an additional commit after the review, please proceed with the
Re-request
review!