Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.
/ polkavm-experiment Public archive

An experimental RISC-V recompiler

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

koute/polkavm-experiment

Repository files navigation

WARNING: All of this code is highly experimental and is a direct result of a two day hacking binge fueled by a truckload of tea. It's definitely not safe to use, and if you value your sanity it might not even be safe to read. Enter at your own peril!

This crate contains a simple singlepass RISC-V to AMD64 recompiler.

Example

  1. Install the necessary target: rustup target add riscv32i-unknown-none-elf
  2. Compile the payload with build-example-payload.sh
  3. Run cargo run -p example-host to run it in a VM.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

An experimental RISC-V recompiler

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published