- Joined
- Nov 24, 2012
- Messages
- 1,261
- Trophies
- 1
- Location
- Gothenburg, Sweden
- Website
- www.sweetsideofsweden.com
- XP
- 1,749
- Country
Any advice on finding rpl names and which functions belong to which rpls?
Its not obvious to me yet.
It appears acquire isn't used normally, but rather the rpls are linked in at build time and those functions are then just available.
For example, where did the IOS.c mount functions come from? I also haven't found any mention of nsysnet anywhere.
Is there any way to dump all rpl names and functions contained therin?
Also, why don't we have file access. Isn't file access part of userland? Say, take a picture of the screen and save to sd card.
Has anyone had any luck with fs.py or ios.c?
We found the different functions in various ways. Filesystem and IOS functions were inside coreinit, which comex gave to me to help me build the ROP chain. I believe nsysnet was found in the Cafe OS system log, along with the names of all the other loaded libraries. Some could be guessed, like gx2.rpl for the graphics library.
I should note that we don't actually have permission in the web browser to access external storage or any part of the internal filesystem outside of the browser's area. This is another reason why a kernel or loader exploit is useful. Let it be said that we're working on it.
List of RPL files I have found using the log file from NWP:
I will add them to the op latter
- snd_core.rpl
- gx2.rpl
- avm.rpl
- vpad.rpl
- vpadbase.rpl
- dc.rpl
- dmae.rpl
- nn_pdm.rpl
- tcl.rpl
- uvc.rpl
- nsysnet.rpl
- nsysccr.rpl
- tve.rpl
- coreinit.rpl
naxil@naxil:~/homebrew/wiiu-userspace$ ./build.sh cpp_test.cpp
0+1 record dentro
0+1 record fuori
216 byte (216 B) copiati, 6,8723e-05 s, 3,1 MB/s
../src/cpp_test.c:2:20: error: no include path in which to search for iostream
../src/cpp_test.c:3:18: error: no include path in which to search for string
../src/cpp_test.c:7:1: error: unknown type name 'using'
../src/cpp_test.c:7:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
../src/cpp_test.c:15:16: error: unknown type name 'string'
../src/cpp_test.c: In function 'start':
../src/cpp_test.c:26:8: error: 'true' undeclared (first use in this function)
../src/cpp_test.c:26:8: note: each undeclared identifier is reported only once for each function it appears in
../src/cpp_test.c:28:35: error: expected ')' before ';' token
../src/cpp_test.c:29:3: error: expected ';' before '}' token
../src/cpp_test.c: In function 'init':
../src/cpp_test.c:40:23: error: 'handle' undeclared (first use in this function)
../src/cpp_test.c:44:1: error: expected ';' before '}' token
../src/cpp_test.c: At top level:
../src/cpp_test.c:46:16: error: unknown type name 'string'
/home/naxil/devkitPRO/devkitPPC/bin/powerpc-eabi-ld: cannot find cpp_test.o: No such file or directory
Traceback (most recent call last):
File "./generate_html.py", line 91, in <module>
code_js = code_to_js(open('code.bin', 'rb').read())
IOError: [Errno 2] No such file or directory: 'code.bin'
filfat.. how to compile your test_cpp.cpp? i have lot of error if i try to use ./build.sh cpp_test.cpp
Code:naxil@naxil:~/homebrew/wiiu-userspace$ ./build.sh cpp_test.cpp 0+1 record dentro 0+1 record fuori 216 byte (216 B) copiati, 6,8723e-05 s, 3,1 MB/s ../src/cpp_test.c:2:20: error: no include path in which to search for iostream ../src/cpp_test.c:3:18: error: no include path in which to search for string ../src/cpp_test.c:7:1: error: unknown type name 'using' ../src/cpp_test.c:7:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std' ../src/cpp_test.c:15:16: error: unknown type name 'string' ../src/cpp_test.c: In function 'start': ../src/cpp_test.c:26:8: error: 'true' undeclared (first use in this function) ../src/cpp_test.c:26:8: note: each undeclared identifier is reported only once for each function it appears in ../src/cpp_test.c:28:35: error: expected ')' before ';' token ../src/cpp_test.c:29:3: error: expected ';' before '}' token ../src/cpp_test.c: In function 'init': ../src/cpp_test.c:40:23: error: 'handle' undeclared (first use in this function) ../src/cpp_test.c:44:1: error: expected ';' before '}' token ../src/cpp_test.c: At top level: ../src/cpp_test.c:46:16: error: unknown type name 'string' /home/naxil/devkitPRO/devkitPPC/bin/powerpc-eabi-ld: cannot find cpp_test.o: No such file or directory Traceback (most recent call last): File "./generate_html.py", line 91, in <module> code_js = code_to_js(open('code.bin', 'rb').read()) IOError: [Errno 2] No such file or directory: 'code.bin'
Nooob question:
Are there any list that lets you check what FW is present on the gamedisc / and what FW is required to play it?
Err... sorry by asking this but... NWPlayer123 , or Marionumber1, you guys are envolved into this, another question to all of this is a little stupid, because it's confirmed by Marcan, but I can't believe yet the Wii U CPU it's clocked at 1.24GHz, both are working in this, so, you know it is true that clock? It's hard to me believe that slow clock, but I'll be fine only with listen to yours words, thanks !
Low GHz doesn't mean low performance (Also called the MHz Myth), clock speed is only part of the puzzle, other factors determine how fast a CPU truly is (architecture, instruction sets, no. of transistors, etc). 1.24 GHz is slow compared to the other consoles, but it doesn't equate to slow performance; once we gain access to all three cores, we can have good apps for homebrew I'm sure.
Err... sorry by asking this but... NWPlayer123 , or Marionumber1, you guys are envolved into this, another question to all of this is a little stupid, because it's confirmed by Marcan, but I can't believe yet the Wii U CPU it's clocked at 1.24GHz, both are working in this, so, you know it is true that clock? It's hard to me believe that slow clock, but I'll be fine only with listen to yours words, thanks !