Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 475 Bytes
#pragma once
#ifdef __APPLE__
#include "common.h"
#include "binary.h"
__BEGIN_DECLS
uint32_t b_allocate_from_running_kernel(const struct binary *to_load);
void b_inject_into_running_kernel(struct binary *to_load, uint32_t sysent);
void unload_from_running_kernel(uint32_t addr);
void b_running_kernel_load_macho(struct binary *binary);
#ifdef __MACH30__
mach_port_t get_kernel_task();
#endif
void b_prepare_running_kernel(const struct binary *binary);
__END_DECLS
#endif