logs archiveBotHelp.net / Freenode / #3dsdev / 2015 / September / 2 / 3
endrift
so when I had to rebuild GCC
it turns out I actually had to recompile binutils
like I thought at first
whatever, it's done
no errors either :D
yuriks
runs like a beautiful snowflake on my o3DS on ninjhax 1.1 lol
endrift
did you fix it?
yuriks
no, I just wanted to check something
what I mean was "it's slow as hell"
meant*
endrift
I figured
oh my god why did this build debug
yuriks
;_;
endrift
wait this isn't a debug build, it just has sym--wait where did that go
ughh
Normmatt
<Lectem> wonder how it was figured out
probablly from that brunswick pro bowling game's elf file
Lectem
nope
Normmatt
or from RE
Lectem
it isnt in it
Normmatt
you sure? theres definately DSP stuff in it
Lectem
yes, but not this command
I mean
its only called at shutdown
with 0
never with 13
1-3
endrift
there's always one game that forgets to strip symbols :)
Normmatt
endrift, theres a few games with symbolmaps but only one i know of with an actual elf file :P
endrift
I'm trying to run objdump on a 60MB exe and oh my GOD
oh haha wow
I have no idea what the typical executable on the 3DS is
I know CIAs are archives, not an executable
fUCK ALL THAT AND NOTHING
48521e: 31 c0 xor %eax,%eax
485220: ff d0 call *%eax
fu*k you gcc
Lectem
erh...
r5 could be anything right ?
endrift
r5?
Lectem
I got STMFD SP!, {R0-R2,R4,R5,LR} LDRH R1, [SP,#0x18+var_14]
endrift
where is this?
Lectem
with var_14 = -0x14
disasm of brunswick pro bowling
endrift
oh
r5 is just a saved register there
Lectem
R1 will hold R5 value right ?
i mean module the the fact its ldrh
modulo*
endrift
oh
Lectem
or the original R1 value ?
endrift
(Action) tries to remember which direction full-descending is
Lectem
(r1 is modified between the two ops)
R1 is what would make sense
ah yeah
ABigDeal
low to high, so second thing on stack
r1
Lectem
ok thanks
Normmatt
what function is that Lectem?
Lectem
RecvData
ABigDeal
it doesn't do any sub sp? no local vars?
Lectem
it has
Normmatt
that takes in two arguments
Lectem
actually it saves r5 because its used later
didnt see it
Normmatt
going by brunswick elf its "nn::dsp::CTR::DSP::RecvData(nn::dsp::CTR::DSP *this, u16 regNo, u16 *pValue)"
Lectem
yeah it takes 2args + this
R1 is the 1st arg
oh
Normmatt
yeah the service only gets the last two args
Lectem
so it is a reg
not channel
ABigDeal
he named the variable
Normmatt
no its named in the elf file :P
Lectem
*.*
yuriks
great time to die, internet
ABigDeal
interesting
Lectem
I dont have the names
Normmatt
then you didn't open the elf file
ABigDeal
symbols should only name types, not variable names
yuriks
endrift: CXI is the executable format, which contains a ExeFS (micro-archive with .code inside, which is the program image) and RomFS (game data files)
Lectem
I used the dwarf file
.axf
Normmatt
dwarf file == elf file
yuriks
yea, .axf are just elfs
Normmatt
your using ida 6.7 or higher?
Lectem
did I miss something in the configuration then?
ah
6.6
yuriks
Lectem: again, that "this" parameter is bogus
Normmatt
it crashes ida 6.6
Lectem
yeah, well
you have to remove the dwarf plugin
Normmatt
yuriks, no its just not sent to the service
Lectem
probably why I dont have the names
Normmatt
yeah well dwarf has all the info
yuriks
Normmatt: you sure? IDA *loves* to think that namespaces are classes
same for static functions
Normmatt
well this is a class
Lectem
its not static here
« prev 1 2 3 4 5 6 7 8 next »