summaryrefslogtreecommitdiff
path: root/docs/guide
diff options
context:
space:
mode:
authorJordan Wiens <github@psifertex.com>2025-10-21 09:42:11 -0400
committerJordan Wiens <github@psifertex.com>2025-10-21 09:42:11 -0400
commit60bdec8b99767b62e9262fa645a6726775cfd7b7 (patch)
tree7246b8ff851c28c218045a2626a5079a73e1f18e /docs/guide
parent98f9bae4c7d2dc636ab0a7fe61741e7f9fccba70 (diff)
update kernelcache scripting docs
Diffstat (limited to 'docs/guide')
-rw-r--r--docs/guide/kernelcache.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/guide/kernelcache.md b/docs/guide/kernelcache.md
index 3006bff2..80423d7d 100644
--- a/docs/guide/kernelcache.md
+++ b/docs/guide/kernelcache.md
@@ -78,8 +78,12 @@ Another way to interact with the kernel cache information is through the provide
```python
# Load the XNU kernel
from binaryninja import kernelcache
-kc = kernelcache.KernelCache(bv)
-kc.load_image_with_install_name('com.apple.kernel')
+kc = kernelcache.KernelCacheController(bv)
+image = kc.get_image_with_name('com.apple.kernel')
+kc.apply_image(bv, image)
```
+???+ Note "Note"
+ When using the Python console in the UI, the `kernel_cache` variable is automatically available for the current view.
+
**Note:** *We do not support single-section loading at this time and can only load entire images.*