From adb7ef55fc4e24f03e6faf353cc9122ee07c714f Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Tue, 13 Jun 2023 11:17:45 -0600 Subject: Add EFI platform --- platform/efi/README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 platform/efi/README.md (limited to 'platform/efi/README.md') diff --git a/platform/efi/README.md b/platform/efi/README.md new file mode 100644 index 00000000..4b73558a --- /dev/null +++ b/platform/efi/README.md @@ -0,0 +1,23 @@ +# platform-efi +This is the EFI platform plugin that ships with Binary Ninja. + +## Building + +Building the architecture plugin requires `cmake` 3.9 or above. You will also need the +[Binary Ninja API source](https://github.com/Vector35/binaryninja-api). + +Run `cmake`. This can be done either from a separate build directory or from the source +directory. Once that is complete, run `make` in the build directory to compile the plugin. + +The plugin can be found in the root of the build directory as `libplatform_efi.so`, +`libplatform_efi.dylib` or `platform_efi.dll` depending on your platform. + +To install the plugin, first launch Binary Ninja and uncheck the "EFI platform 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.** -- cgit v1.3.1