SingingCat 0
application
loader-api.h
1#ifndef LOADER_API_H
2#define LOADER_API_H
3//void *get_loader_api_address();
4void *get_function_offset(int num) __attribute__((no_instrument_function));
5void *loader_get_last_function_ptr();
6void *loader_get_last_function_ptr_ptr();
7void loader_set_last_function_ptr(void *p) __attribute__((no_instrument_function));
8long loader_get_user_long();
9void loader_set_user_long(long l);
10int loader_get_last_reset_cause();
11void loader_erase_config();
12//void loader_set_update_node(long l);
13//void loader_set_update_host(const char *n);
14uint32_t loader_get_version();
15
16void *loader_get_app_base_address(int index);
17int loader_get_app_base_address_count();
18int loader_set_latest_app(void *x);
19int loader_has_api();
20struct meta_header *loader_get_app_meta_address(int index);
21#endif