Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | rz_xnu_kernelcache_file_range_t |
struct | rz_xnu_kernelcache_rebase_info_t |
struct | rz_xnu_kernelcache_parsed_pointer_t |
struct | rz_xnu_kernelcache_obj_t |
Macros | |
#define | RZ_BIN_MACH064 1 |
Typedefs | |
typedef struct rz_xnu_kernelcache_file_range_t | RzXNUKernelCacheFileRange |
typedef struct rz_xnu_kernelcache_rebase_info_t | RzXNUKernelCacheRebaseInfo |
typedef struct rz_xnu_kernelcache_parsed_pointer_t | RzXNUKernelCacheParsedPointer |
typedef struct rz_xnu_kernelcache_obj_t | RzXNUKernelCacheObj |
Functions | |
RZ_API bool | rz_xnu_kernelcache_buf_is_kernelcache (RzBuffer *b) |
RZ_API RzBuffer * | rz_xnu_kernelcache_new_rebasing_buf (RzXNUKernelCacheObj *obj) |
RZ_API bool | rz_xnu_kernelcache_needs_rebasing (RzXNUKernelCacheObj *obj) |
RZ_API bool | rz_xnu_kernelcache_parse_pointer (RzXNUKernelCacheParsedPointer *ptr, ut64 decorated_addr, RzXNUKernelCacheObj *obj) |
#define RZ_BIN_MACH064 1 |
Definition at line 8 of file kernelcache.h.
typedef struct rz_xnu_kernelcache_file_range_t RzXNUKernelCacheFileRange |
typedef struct rz_xnu_kernelcache_obj_t RzXNUKernelCacheObj |
typedef struct rz_xnu_kernelcache_parsed_pointer_t RzXNUKernelCacheParsedPointer |
typedef struct rz_xnu_kernelcache_rebase_info_t RzXNUKernelCacheRebaseInfo |
Definition at line 13 of file kernelcache.c.
References b, CPU_TYPE_ARM64, flags, i, LC_KEXT, LC_LAZY_LOAD_DYLIB, LC_LOAD_DYLIB, LC_LOAD_WEAK_DYLIB, LC_SEGMENT_64, LC_UNIXTHREAD, length, MACH0_, MH_FILESET, MH_PIE, rz_buf_read_le32_at, rz_buf_read_le64_at, rz_buf_size(), st64, autogen_x86imm::tmp, and ut64().
Referenced by check_buffer().
RZ_API bool rz_xnu_kernelcache_needs_rebasing | ( | RzXNUKernelCacheObj * | obj | ) |
Definition at line 317 of file kernelcache.c.
References rz_xnu_kernelcache_obj_t::rebase_info.
RZ_API RzBuffer* rz_xnu_kernelcache_new_rebasing_buf | ( | RzXNUKernelCacheObj * | obj | ) |
Definition at line 313 of file kernelcache.c.
References buf_methods, and rz_buf_new_with_methods().
RZ_API bool rz_xnu_kernelcache_parse_pointer | ( | RzXNUKernelCacheParsedPointer * | ptr, |
ut64 | decorated_addr, | ||
RzXNUKernelCacheObj * | obj | ||
) |
Definition at line 218 of file kernelcache.c.
References rz_xnu_kernelcache_parsed_pointer_t::address, rz_xnu_kernelcache_rebase_info_t::kernel_base, and rz_xnu_kernelcache_obj_t::rebase_info.
Referenced by on_rebase_pointer(), and p_ptr().