taiHEN  1.0
CFW framework for PS Vita
module.h
1 
4 #ifndef TAI_MODULE_HEADER
5 #define TAI_MODULE_HEADER
6 
7 #include "taihen_internal.h"
8 
14 int module_get_by_name_nid(SceUID pid, const char *name, uint32_t nid, tai_module_info_t *info);
15 int module_get_offset(SceUID pid, SceUID modid, int segidx, size_t offset, uintptr_t *addr);
16 int module_get_export_func(SceUID pid, const char *modname, uint32_t libnid, uint32_t funcnid, uintptr_t *func);
17 int module_get_import_func(SceUID pid, const char *modname, uint32_t target_libnid, uint32_t funcnid, uintptr_t *stub);
18 
21 #endif // TAI_MODULE_HEADER
Extended module information.
Definition: taihen.h:53
int module_get_by_name_nid(SceUID pid, const char *name, uint32_t nid, tai_module_info_t *info)
Gets a loaded module by name or NID or both.
Definition: module.c:235
int module_get_export_func(SceUID pid, const char *modname, uint32_t libnid, uint32_t funcnid, uintptr_t *func)
Gets an exported function address.
Definition: module.c:326
int module_get_offset(SceUID pid, SceUID modid, int segidx, size_t offset, uintptr_t *addr)
Gets an offset from a segment in a module.
Definition: module.c:288
int module_get_import_func(SceUID pid, const char *modname, uint32_t target_libnid, uint32_t funcnid, uintptr_t *stub)
Gets an imported function stub address.
Definition: module.c:392