diff options
Diffstat (limited to 'view/kernelcache/core/KernelCache.cpp')
| -rw-r--r-- | view/kernelcache/core/KernelCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/kernelcache/core/KernelCache.cpp b/view/kernelcache/core/KernelCache.cpp index 3750e795..ef5fd8a5 100644 --- a/view/kernelcache/core/KernelCache.cpp +++ b/view/kernelcache/core/KernelCache.cpp @@ -77,7 +77,7 @@ bool KernelCache::ProcessEntryImage(Ref<BinaryView> bv, const std::string& path, // Associate this region with this image, this makes it easier to identify what image owns this region. sectionRegion.imageStart = image.headerFileAddress; - uint32_t flags = SegmentFlagsFromMachOProtections(segment.initprot, segment.maxprot); + uint32_t flags = SegmentFlagsForSegment(segment); // if we're positive we have an entry point for some reason, force the segment // executable. this helps with kernel images. for (const auto& entryPoint : imageHeader->m_entryPoints) |
