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
14,998
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: 116
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
  • No one is chatting at the moment.
  • ZeroT21 @ ZeroT21:
    it wasn't a question, it was fact
  • BigOnYa @ BigOnYa:
    He said he had 3 different doctors apt this week, so he prob there. Something about gerbal extraction, I don't know.
    +1
  • ZeroT21 @ ZeroT21:
    bored, guess i'll spread more democracy
  • LeoTCK @ LeoTCK:
    @K3Nv2 one more time you say such bs to @BakerMan and I'll smack you across the whole planet
  • K3Nv2 @ K3Nv2:
    Make sure you smack my booty daddy
    +1
  • LeoTCK @ LeoTCK:
    telling him that my partner is luke...does he look like someone with such big ne
    eds?
  • LeoTCK @ LeoTCK:
    do you really think I could stand living with someone like luke?
  • LeoTCK @ LeoTCK:
    I suppose luke has "special needs" but he's not my partner, did you just say that to piss me off again?
  • LeoTCK @ LeoTCK:
    besides I had bigger worries today
  • LeoTCK @ LeoTCK:
    but what do you know about that, you won't believe me anyways
  • K3Nv2 @ K3Nv2:
    @BigOnYa can answer that
  • BigOnYa @ BigOnYa:
    BigOnYa already left the chat
  • K3Nv2 @ K3Nv2:
    Biginya
  • BigOnYa @ BigOnYa:
    Auto correct got me, I'm on my tablet, i need to turn that shit off
  • K3Nv2 @ K3Nv2:
    With other tabs open you perv
  • BigOnYa @ BigOnYa:
    I'm actually in my shed, bout to cut 2-3 acres of grass, my back yard.
  • K3Nv2 @ K3Nv2:
    I use to have a guy for that thanks richard
  • BigOnYa @ BigOnYa:
    I use my tablet to stream to a bluetooth speaker when in shed. iHeartRadio, FlyNation
  • K3Nv2 @ K3Nv2:
    While the victims are being buried
  • K3Nv2 @ K3Nv2:
    Grave shovel
  • BigOnYa @ BigOnYa:
    Nuh those goto the edge of the property (maybe just on the other side of)
  • K3Nv2 @ K3Nv2:
    On the neighbors side
    +1
  • BigOnYa @ BigOnYa:
    Yup, by the weird smelly green bushy looking plants.
    K3Nv2 @ K3Nv2: https://www.the-sun.com/news/10907833/self-checkout-complaints-new-target-dollar-general-policies...