Commit Graph

102 Commits

Author SHA1 Message Date
Daniel K. O.
6c4df9fc0e
Moved function_replacement_data_v2_t to a private header. (#33)
* Moved `function_replacement_data_v2_t` to a private header.

* Sorted includes.

* Sorted includes the way clang likes it.

* Updated Dockerfile.

---------

Co-authored-by: Daniel K. O. (dkosmari) <none@none>
2024-10-12 16:44:50 +02:00
Maschell
3ac4d19ad7 Update Dockerfile 2024-05-06 10:29:35 +02:00
Maschell
e9d8f970b2 Bump softprops/action-gh-release@v2 from 1 to 2 2024-05-06 10:29:35 +02:00
Maschell
6c05c4dbdc Bump version to 0.2.3 2024-04-24 19:08:04 +02:00
Maschell
df287468a1 Update Dockerfile 2024-04-24 19:08:04 +02:00
Maschell
52192d0cb4 Update .gitignore to ignore all files with .zip extension 2024-04-24 19:08:04 +02:00
Maschell
8de9c37137 Fix some jumps to original functions by placing the replaced intruction after setting CTR 2024-04-24 19:08:04 +02:00
dependabot[bot]
597788ff96 Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 22:48:19 +02:00
Maschell
e4dc696c34 Create dependabot.yml 2023-07-23 10:21:31 +02:00
Maschell
0169ae441a Bump version 2023-07-19 18:36:06 +02:00
Maschell
1c293a5e24 Update Dockerfile 2023-07-19 16:19:19 +02:00
Maschell
865d6c58c1 Update Dockerfile 2023-07-06 15:50:11 +02:00
Maschell
0d0c819f11 Update Dockerfile, fix compiling with wut 1.3.0 2023-04-23 11:39:12 +02:00
Maschell
b2b8ff2083 Change default branch to main 2023-03-28 20:38:50 +02:00
Maschell
214369da29 Bump Version 2023-03-28 20:22:29 +02:00
Maschell
fa3292fa28 memset the memory to 0 before freeing 2023-03-26 15:49:04 +02:00
Maschell
54d0f80426 Change docker registry to ghcr.io 2023-03-18 14:31:59 +01:00
Maschell
35f2c495cc Bump version to 0.2 2023-01-10 18:05:29 +01:00
Maschell
1c7a6ac333 Add support for function patcher struct version 3 2023-01-07 23:55:23 +01:00
Maschell
f6cc151506 Fix typo in ci.yml 2023-01-07 23:55:23 +01:00
Maschell
c074ca4892 Use WUMS 0.3.2 2023-01-07 23:55:23 +01:00
Maschell
1d13bc62e5 Remove unused variable from the ci.yml 2023-01-07 23:55:23 +01:00
Maschell
9485cc7e15 Rename toRemoved to toBeRemoved 2023-01-06 14:31:14 +01:00
Maschell
ecc109af50 Only try to restore a function if it's actually patched 2023-01-06 14:31:14 +01:00
Maschell
5adf6c3688 Implement v2 of the FunctionPatcherModule API 2023-01-06 14:31:14 +01:00
Maschell
1e2457b266 PatchedFunctionData. Actually return on error instead of allocating even more memory 2023-01-06 14:31:14 +01:00
Maschell
b1320f0c8d Improve logging 2023-01-06 14:31:14 +01:00
Maschell
fa815f17c0 Update the CI to use a non-deprecated release action 2023-01-06 14:31:14 +01:00
Maschell
8d853d6320 Simplify reading the existing instruction when patching a function 2023-01-06 14:31:14 +01:00
Maschell
e85d383ec4 Log the module version on each application start 2023-01-04 22:40:13 +01:00
Maschell
7d67184cfd Improve commit messages for nightly releases 2023-01-04 22:40:13 +01:00
Maschell
ac0c341eb4 Reset the cached function handle if RPL has been unloaded 2023-01-02 17:06:07 +01:00
Maschell
e51e6a9509 Reset function patch state if a RPL has been unloaded. 2023-01-02 17:06:07 +01:00
Maschell
d3a65723bc Update Makefile to be compatible with CLion 2023-01-02 17:06:07 +01:00
Maschell
663e3e513d Update CI files to use actions/checkout@v3 2023-01-02 15:44:27 +01:00
Maschell
7703eac375 Fix restoring "dynamic" functions. Instead of predicting an unload of a RPL we now check if the replaced instruction has been changed. 2023-01-02 15:44:27 +01:00
Maschell
182c6d2f92 Check if the function is already patched before updating the addresses 2023-01-02 15:44:27 +01:00
Maschell
f94b857f12 Use std::list instead of array 2023-01-02 15:44:27 +01:00
Maschell
c719b4c8ac Remove call of OSDynLoad_Release for handles that have not been acquired 2023-01-02 15:44:27 +01:00
Maschell
9ad95fe6a8 Use ubuntu-22.04 in CI 2022-09-04 18:14:09 +02:00
Maschell
eec6ba5610 Update Dockerfile 2022-09-04 18:14:09 +02:00
Maschell
777eda1b19 Add LICENSE 2022-09-04 18:14:09 +02:00
Maschell
ced1e27b53 Fix patching dynamic function in WUMS_INITIALIZE hooks 2022-08-21 22:47:37 +02:00
Maschell
5b87a89650 Update Dockerfile to use latest wut 2022-08-06 22:44:59 +02:00
Maschell
1a33517f0e Fix patching of functions that only consist of one branch instruction outside of nn::acp 2022-08-06 22:44:59 +02:00
Maschell
874e5d9923 Fix function patching for functions with an effective address between 0x20000000 - 0x3FFFFFFC 2022-08-06 22:44:59 +02:00
Maschell
d602d17034 Update the malloc/free pointers used for threads to fix apps which use a custom heap 2022-07-28 02:44:13 -07:00
Maschell
4569e407ae Update Dockerfile to use latest wut version 2022-07-25 13:14:32 -07:00
Maschell
343e8da82d Update Dockerfile to use latest WUMS version 2022-05-13 00:29:53 +02:00
Maschell
f37216db4e Add logging instructions to the README 2022-05-08 19:26:06 +02:00