diff options
Diffstat (limited to 'docs/guide/kernelcache.md')
| -rw-r--r-- | docs/guide/kernelcache.md | 8 |
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.* |
