Homebrew ctrulib develop help(svcDebugActiveProcess)

zsword01

New Member
OP
Newbie
Joined
Dec 11, 2015
Messages
3
Trophies
0
Age
39
XP
54
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,374
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
OP
Newbie
Joined
Dec 11, 2015
Messages
3
Trophies
0
Age
39
XP
54
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 end of life
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
2
XP
15,000
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: 118
Last edited by zoogie,
  • Like
Reactions: Februarysn0w

zsword01

New Member
OP
Newbie
Joined
Dec 11, 2015
Messages
3
Trophies
0
Age
39
XP
54
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

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://www.google.com/search?q=MSU+Genesis&rlz=1C1VDKB_enUS988US988&oq=MSU+Genesis&gs_lcrp=EgZja...