//
//  offsets.h
//  g0blin
//
//  Created by Sticktron on 2017-12-26.
//  Copyright © 2017 Sticktron. All rights reserved.
//

#ifndef offsets_h
#define offsets_h

#include <stdio.h>
#include <mach/mach.h>

extern uint64_t OFFSET_ZONE_MAP;
extern uint64_t OFFSET_KERNEL_MAP;
extern uint64_t OFFSET_KERNEL_TASK;
extern uint64_t OFFSET_REALHOST;
extern uint64_t OFFSET_BZERO;
extern uint64_t OFFSET_BCOPY;
extern uint64_t OFFSET_COPYIN;
extern uint64_t OFFSET_COPYOUT;
extern uint64_t OFFSET_IPC_PORT_ALLOC_SPECIAL;
extern uint64_t OFFSET_IPC_KOBJECT_SET;
extern uint64_t OFFSET_IPC_PORT_MAKE_SEND;
extern uint64_t OFFSET_IOSURFACEROOTUSERCLIENT_VTAB;
extern uint64_t OFFSET_ROP_ADD_X0_X0_0x10;
extern uint64_t OFFSET_ROOT_MOUNT_V_NODE;

kern_return_t init_offsets(void);

#endif /* offsets_h */
