Comments (3)
The binary for a service patch would load to the first free area it can be called from, and the service table would be set to where it's located in memory.
That's exactly how memory patches work. Now, I'm assuming this svcBackdoor is for arm11, in which case the current implementation for memory patches won't work yet. This is because I don't know of any place where I'm sure the patches won't be overwritten, aside from address translation.
from cakesforeverywan.
Yes, the service table/svcBackdoor is arm11.
I'll change the title to 'Allow ARM11 Memory Patches'.
IMHO, Memory patches are pretty confusing and not well documented, it took me a bit to sift through the code to realize that's how you use them and I still have no clue how to implement one.
The way Luma3DS/the experimental cake does it is by putting the code in the ARM11 exceptions page at the first free location, which won't be overwritten afaik. Requires some runtime checks for safety, though.
from cakesforeverywan.
IMHO, Memory patches are pretty confusing and not well documented
Hm, I guess. Though it's not much more than: Memory patch is written to a free location, patcher makes sure whatever FIRM patch requires it points towards it (and I agree the code for it is shittily documented).
from cakesforeverywan.
Related Issues (20)
- Latest cake do not boot RedNAND (maybe EmuNAND) HOT 2
- Userland patching implementation HOT 2
- Finish sysmodule implementation
- Boot Splash images? HOT 4
- I'm not able to load RedNAND HOT 3
- 11.0 NATIVE_FIRM lacks most patches HOT 27
- Add search&replace functionality to the .cake format. HOT 1
- TiniVi isn't credited for screen deinit HOT 2
- Compiling CakesFW with latest ctrulib from smea (commit: 1cef3e5) errors out HOT 4
- Considering of supporting FW 11.3? HOT 1
- Add a magnet link to the firmkey.bin in the installation tutorial page HOT 2
- CakesFW hangs on RedNAND boot HOT 2
- Could CakesFW support B9S v1.2 ? HOT 2
- Cetk not decrypting! HOT 9
- TWL/AGB Broken on New3DS with v200 HOT 16
- 3ds_injector needs to be updated to work HOT 5
- People are still using this, and all yer links are ded m8 HOT 8
- I have decided to continue on CakesFW, and I was building the source code (yes, I have an environment set up), but HOT 6
- I think 11.8.0 killed this :( HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cakesforeverywan.