|
102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
|
#include <dttr_core.h>Go to the source code of this file.
Functions | |
| static DTTR_Result | dttr_core_result (DTTR_Status status, const char *message) |
| const DTTR_Core_Context * | dttr_core_patch_group_context (const DTTR_Core_PatchGroup *group) |
| DTTR_Result | dttr_core_hook_last_error () |
| void | dttr_core_hook_set_last_error (DTTR_Status status, const char *message) |
| void | dttr_core_report_init (DTTR_Core_TargetReport *report) |
| void | dttr_core_report_fail (DTTR_Core_TargetReport *report, size_t index, DTTR_Result result) |
| DTTR_Result dttr_core_hook_last_error | ( | ) |
Definition at line 85 of file hook_registry.c.
References hook_last_error.
Referenced by DTTR_Core_HookFunction().
| void dttr_core_hook_set_last_error | ( | DTTR_Status | status, |
| const char * | message ) |
Definition at line 89 of file hook_registry.c.
References dttr_core_result(), and hook_last_error.
Referenced by DTTR_Core_HookAttachFunction(), and hook_error_clear().
| const DTTR_Core_Context * dttr_core_patch_group_context | ( | const DTTR_Core_PatchGroup * | group | ) |
Definition at line 672 of file core.c.
References NULL.
Referenced by DTTR_PCDOGS_PatchGroup_HookDataPointer(), and patch_group_hook_symbol_function().
| void dttr_core_report_fail | ( | DTTR_Core_TargetReport * | report, |
| size_t | index, | ||
| DTTR_Result | result ) |
Definition at line 912 of file core.c.
References DTTR_Core_TargetReport::failed_index, DTTR_Core_TargetReport::message, DTTR_Result::message, DTTR_Core_TargetReport::status, and DTTR_Result::status.
Referenced by DTTR_Core_PatchGroupInstallTargets(), and patch_report_fail().
| void dttr_core_report_init | ( | DTTR_Core_TargetReport * | report | ) |
Definition at line 898 of file core.c.
References DTTR_Core_TargetReport::attempted, DTTR_OK, DTTR_Core_TargetReport::failed_index, DTTR_Core_TargetReport::installed, DTTR_Core_TargetReport::message, DTTR_Core_TargetReport::skipped_optional, and DTTR_Core_TargetReport::status.
Referenced by DTTR_Core_PatchGroupInstallTargets(), and patch_report_init().
|
inlinestatic |
Definition at line 6 of file core_internal.h.
Referenced by aob_scan_with(), DTTR_Core_AOBFind(), DTTR_Core_AOBFindInModule(), dttr_core_hook_set_last_error(), DTTR_Core_HookFunction(), DTTR_Core_HookPointer(), DTTR_Core_PatchBytes(), DTTR_Core_PatchGroupCreate(), DTTR_Core_PatchGroupDestroy(), DTTR_Core_PatchGroupInstallTargets(), DTTR_Core_PatchGroupRelease(), DTTR_Core_PatchGroupUninstall(), DTTR_Core_PatchRel32Jump(), DTTR_Core_SignatureFind(), DTTR_Core_Unhook(), DTTR_Core_Unpatch(), DTTR_PCDOGS_DataResolve(), DTTR_PCDOGS_FunctionResolve(), DTTR_PCDOGS_Hook_DataPointer(), DTTR_PCDOGS_PatchGroup_HookDataPointer(), DTTR_PCDOGS_PatchGroup_HookFunction(), DTTR_PCDOGS_PatchGroup_Install(), install_one_target(), parse_aob(), parse_aob_fail(), patch_group_hook_symbol_function(), patch_group_prepare_install(), patch_group_reserve(), patch_group_uninstall_from(), patch_spec_install(), patch_spec_target(), resolve_symbol(), and target_address().