Homebrew ctrulib develop help(svcDebugActiveProcess)

zsword01

New Member
Newbie
Joined
Dec 11, 2015
Messages
3
Trophies
0
Age
36
XP
24
Country
Switzerland
I`m using ctrulib to develop an application, try to read/write process memory data.
I using svcDebugActiveProcess, but it return failed result, and it looks like the reason is i don`t set kernel to debug flag, but i don`t konw how to do it.
please any one can tell u how to set kernel to debug flag?
 

Mrrraou

Well-Known Member
Member
Joined
Oct 17, 2015
Messages
1,873
Trophies
0
XP
2,344
Country
France
I`m using ctrulib to develop an application, try to read/write process memory data.
I using svcDebugActiveProcess, but it return failed result, and it looks like the reason is i don`t set kernel to debug flag, but i don`t konw how to do it.
please any one can tell u how to set kernel to debug flag?
You need to set it via kernel access, try using svcBackdoor.
 

zsword01

New Member
Newbie
Joined
Dec 11, 2015
Messages
3
Trophies
0
Age
36
XP
24
Country
Switzerland
You need to set it via kernel access, try using svcBackdoor.
OK,thanks, i will to try it:).
It is in the [Result svcBackdoor(s32 (*callback)(void))] callback function, i can just run svcOpenProcess, svcDebugActiveProcess, and no need to set kernel debug flag?
 
Last edited by zsword01,

zoogie

playing around in the dsiware
Developer
Joined
Nov 30, 2014
Messages
8,278
Trophies
0
XP
13,008
Country
Micronesia, Federated States of
Here attached is yurik's process dumper for 9.2. This version combines 3ds-process-dumper and libkhax as a single app which is a lot more convenient that bootstrap plus process-dumper seperately (and it needs ninjhax 1 lol). Some processes will crash but that's probably normal.

The binaries are in the output folder. (I think you can also use ntr cfw to dump processes if I'm not mistaken, might try that too)
 

Attachments

  • 3ds-process-dumper.zip
    1.4 MB · Views: 93
Last edited by zoogie,
  • Like
Reactions: Februarysn0w

zsword01

New Member
Newbie
Joined
Dec 11, 2015
Messages
3
Trophies
0
Age
36
XP
24
Country
Switzerland
Here attached is yurik's process dumper for 9.2. This version combines 3ds-process-dumper and libkhax as a single app which is a lot more convenient that bootstrap plus process-dumper seperately (and it needs ninjhax 1 lol). Some processes will crash but that's probably normal.
The binaries are in the output folder. (I think you can also use ntr cfw to dump processes if I'm not mistaken, might try that too)
It looks like libkhax is not support New3DS yet?I`m run it on rxTools EmuNand and it return 'Failhax'
 
Last edited by zsword01,

Site & Scene News

General chit-chat
Help Users
    LinkmstrYT @ LinkmstrYT: :toot: