// // patchfinder64.h // extra_recipe // // Copyright © 2017 xerub. All rights reserved. // Modified by Sticktron. // #ifndef PATCHFINDER64_H_ #define PATCHFINDER64_H_ #import "common.h" #import int kpp_init_patchfinder(task_t tfp0, uint64_t base, const char *filename); void term_kernel(void); enum { SearchInCore, SearchInPrelink }; uint64_t kpp_find_register_value(uint64_t where, int reg); uint64_t kpp_find_reference(uint64_t to, int n, int prelink); uint64_t kpp_find_strref(const char *string, int n, int prelink); uint64_t kpp_find_gPhysBase(void); uint64_t kpp_find_kernel_pmap(void); uint64_t kpp_find_amfiret(void); uint64_t kpp_find_ret_0(void); uint64_t kpp_find_amfi_memcmpstub(void); uint64_t kpp_find_sbops(void); uint64_t kpp_find_lwvm_mapio_patch(void); uint64_t kpp_find_lwvm_mapio_newj(void); uint64_t kpp_find_entry(void); const unsigned char *kpp_find_mh(void); uint64_t kpp_find_cpacr_write(void); uint64_t kpp_find_str(const char *string); uint64_t kpp_find_amfiops(void); uint64_t kpp_find_sysbootnonce(void); uint64_t kpp_find_trustcache(void); uint64_t kpp_find_amficache(void); uint64_t find_allproc(void); uint64_t find_sandbox_label_update_execve(void); #endif