libtransistor
A userland library for the Nintendo Switch
|
Homebrew ABI configuration. More...
Go to the source code of this file.
Data Structures | |
struct | loader_config_service_override_t |
struct | loader_config_entry_t |
struct | loader_config_t |
Functions | |
void | lconfig_init_default (uint64_t thread_handle) |
Initializes default loader config. | |
result_t | lconfig_parse (loader_config_entry_t *config) |
Parses loader config. | |
result_t | lconfig_has_syscall (uint8_t syscall) |
Checks if a given syscall is hinted. More... | |
result_t | lconfig_has_syscalls (const uint8_t *syscalls) |
Checks if all the given syscalls are hinted. More... | |
_Noreturn void | trn_dirty_exit (int code) |
Exits application without cleanup. More... | |
Variables | |
bool | IS_NRO |
loader_config_t | loader_config |
Homebrew ABI configuration.
result_t lconfig_has_syscall | ( | uint8_t | syscall | ) |
Checks if a given syscall is hinted.
result_t lconfig_has_syscalls | ( | const uint8_t * | syscalls | ) |
Checks if all the given syscalls are hinted.
Array should be terminated by a zero element.
_Noreturn void trn_dirty_exit | ( | int | code | ) |
Exits application without cleanup.
This will return to the loader without performing any cleanup. This is useful if you've done something like overwritten a function pointer and are going to re-enter the application at a later time.