{"id":13672343,"url":"https://github.com/maekawatoshiki/vicis","last_synced_at":"2025-04-05T22:05:28.484Z","repository":{"id":44603324,"uuid":"322197200","full_name":"maekawatoshiki/vicis","owner":"maekawatoshiki","description":"Manipulate LLVM-IR in Pure Rust","archived":false,"fork":false,"pushed_at":"2022-05-30T13:37:24.000Z","size":1232,"stargazers_count":220,"open_issues_count":3,"forks_count":11,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-29T21:04:12.507Z","etag":null,"topics":["compiler","llvm","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maekawatoshiki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-17T06:03:18.000Z","updated_at":"2025-03-25T22:52:56.000Z","dependencies_parsed_at":"2022-08-30T15:41:24.942Z","dependency_job_id":null,"html_url":"https://github.com/maekawatoshiki/vicis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maekawatoshiki%2Fvicis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maekawatoshiki%2Fvicis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maekawatoshiki%2Fvicis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maekawatoshiki%2Fvicis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maekawatoshiki","download_url":"https://codeload.github.com/maekawatoshiki/vicis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247406085,"owners_count":20933803,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compiler","llvm","rust"],"created_at":"2024-08-02T09:01:32.873Z","updated_at":"2025-04-05T22:05:28.462Z","avatar_url":"https://github.com/maekawatoshiki.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# Vicis\n\n[![CI](https://github.com/maekawatoshiki/vicis/workflows/Rust/badge.svg)](https://github.com/maekawatoshiki/vicis/actions/workflows/rust.yml)\n[![codecov](https://codecov.io/gh/maekawatoshiki/vicis/branch/master/graph/badge.svg)](https://codecov.io/gh/maekawatoshiki/vicis)\n[![discussions](https://img.shields.io/static/v1?logo=github\u0026style=flat\u0026color=blueviolet\u0026message=Discussions\u0026label=GitHub)](https://github.com/maekawatoshiki/vicis/discussions)\n[![](http://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)\n\nManipulate LLVM IR in pure Rust (without LLVM).\n\nFeel free to create issues and pull requests!\n\n# Requirements\n\n- Vicis itself is not depending on llvm\n  - However, I sometimes use llvm 13 for testing. (e.g. parsing the llvm-ir clang-13 emitted by vicis)\n\n# Examples\n\n- Parse and dump `*.ll` file\n\n```sh\ncargo run --example parse FILE.ll\n```\n\n- Interpret `*.ll` file\n\n```\ncargo run --example interpreter FILE.ll # --release\n```\n\n- [Iterate over instructions](./core/examples/iterate.rs)\n\n- [Compile LLVM IR into machine code](./codegen/examples/example_x86_64.rs)\n  - The example illustrates the way for x86_64, but it's easy to do the same thing for aarch64 (although aarch64 backend is still heavily under development.)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaekawatoshiki%2Fvicis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaekawatoshiki%2Fvicis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaekawatoshiki%2Fvicis/lists"}