From a9cfac7ff14d93ff22092366f99eb2dd3213ea7e Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Tue, 19 Dec 2023 22:39:33 -0700 Subject: Add RISC-V architecture plugin --- arch/riscv/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 arch/riscv/README.md (limited to 'arch/riscv/README.md') diff --git a/arch/riscv/README.md b/arch/riscv/README.md new file mode 100644 index 00000000..822f3c7a --- /dev/null +++ b/arch/riscv/README.md @@ -0,0 +1,17 @@ +# arch-riscv + +This is the RISC-V architecture plugin that ships with Binary Ninja. + +## Building + +Building the architecture plugin requires the Rust language development tools. + +Run `cargo build --release` to build the plugin. The plugin can be found in the `target/release` directory as `libarch_riscv.so`, `libarch_riscv.dylib` or `arch_riscv.dll` depending on your platform. + +To install the plugin, first launch Binary Ninja and uncheck the "RISC-V architecture plugin" option in the "Core Plugins" section. This will cause Binary Ninja to stop loading the bundled plugin so that its replacement can be loaded. Once this is complete, you can copy the plugin into the user plugins directory (you can locate this by using the "Open Plugin Folder" option in the Binary Ninja UI). + +**Do not replace the architecture plugin in the Binary Ninja install directory. This will be overwritten every time there is a Binary Ninja update. Use the above process to ensure that updates do not automatically uninstall your custom build.** + +## Pull Requests + +Please follow whatever formatting conventions are present in the file you edit. Pay attention to curly brackets, spacing, tabs vs. spaces, etc. -- cgit v1.3.1