summaryrefslogtreecommitdiff
path: root/platform/windows-kernel/README.md
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2023-08-09 09:17:20 -0400
committerPeter LaFosse <peter@vector35.com>2023-12-02 08:43:28 -0500
commit9393d7166944c6cba3d808b976a8b73c40d2a8ea (patch)
tree13c1d75b907d69175a47c81d940ad2c2b4b1113d /platform/windows-kernel/README.md
parent577025979aee0204ce3c5f80a346e5b898e0b023 (diff)
Add windows kernel platform
Diffstat (limited to 'platform/windows-kernel/README.md')
-rw-r--r--platform/windows-kernel/README.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/platform/windows-kernel/README.md b/platform/windows-kernel/README.md
new file mode 100644
index 00000000..37b621cc
--- /dev/null
+++ b/platform/windows-kernel/README.md
@@ -0,0 +1,23 @@
+# platform-windows-kernel
+This is the Windows kernel 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_windows_kernel.so`,
+`libplatform_windows_kernel.dylib` or `platform_windows_kernel.dll` depending on your platform.
+
+To install the plugin, first launch Binary Ninja and uncheck the "Windows kernel 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.**