Homebrew ctrulib develop help(svcDebugActiveProcess)

zsword01

New Member
OP
Newbie
Joined
Dec 11, 2015
Messages
3
Trophies
0
Age
38
XP
44
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,364
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
38
XP
44
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,507
Trophies
2
XP
14,439
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: 106
Last edited by zoogie,
  • Like
Reactions: Februarysn0w

zsword01

New Member
OP
Newbie
Joined
Dec 11, 2015
Messages
3
Trophies
0
Age
38
XP
44
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,
General chit-chat
Help Users
  • No one is chatting at the moment.
  • JuanMena @ JuanMena:
    Will you give me mouth to mouth oxygen if my throat closes?
  • K3N1 @ K3N1:
    Nah the air can do that
  • K3N1 @ K3N1:
    Ask @x65943 he's trained for that stuff
  • JuanMena @ JuanMena:
    Kissing random dudes choking in celery? Really? Need to study for that?
  • K3N1 @ K3N1:
    Yes it requires a degree
  • K3N1 @ K3N1:
    I could also yank out the rest of my teeth but theirs professionals for that
  • x65943 @ x65943:
    If your throat closes, putting oxygen in your mouth will not solve anything - as you will be introducing oxygen prior to the area of obstruction
  • JuanMena @ JuanMena:
    Just kiss me Kyle.
  • x65943 @ x65943:
    You either need to be intubated to bypass obstruction or create a stoma inferior to the the area of obstruction to survive
  • x65943 @ x65943:
    "Just kiss me Kyle." And I thought all the godreborn gay stuff was a smear campaign
  • JuanMena @ JuanMena:
    If I die, tell my momma I won't be carrying Baby Jesus this christmas :sad::cry:
  • K3N1 @ K3N1:
    Smear campaigns are in The political section now?
  • JuanMena @ JuanMena:
    Chary! Chary! Chary, Chary, Chary!
  • Sonic Angel Knight @ Sonic Angel Knight:
    Pork Provolone :P
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds yummy
  • K3N1 @ K3N1:
    Sweet found my Wii u PSU right after I ordered a new one :tpi:
  • JuanMena @ JuanMena:
    It was waiting for you to order another one.
    Seems like, your PSU was waiting for a partner.
  • JuanMena @ JuanMena:
    Keep them both
    separated or you'll have more PSUs each year.
  • K3N1 @ K3N1:
    Well one you insert one PSU into the other one you get power
  • JuanMena @ JuanMena:
    It literally turns it on.
  • K3N1 @ K3N1:
    Yeah power supplies are filthy perverts
  • K3N1 @ K3N1:
    @Psionic Roshambo has a new friend
    +1
  • JuanMena @ JuanMena:
    It's Kyle, the guy that went to school to be a Certified man Kisser.
  • Psionic Roshambo @ Psionic Roshambo:
    Cartmans hand has taco flavored kisses
  • A @ abraarukuk:
    hi guys
    A @ abraarukuk: hi guys