You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i wanted to look at ghidra using a binary i knew 100% what it did and what was what, so i threw my loader from priiloader in it.
to my surprise it wasn't able to disassemble all the asm.
ive included a zip with the binary, the map & .s generated by gcc. loader.zip
when i reached the main function ( @ 0x58C ) , and pressed D to disassemble it seems to not be able to disassemble the first instruction ( 0x2C030000 : cmpwi r3, 0 ), all the rest seems ok.
weirdly enough it recognizes a cmpwi r4, 0 (0x2E040000 @ 0x5A0 ) later on correctly...?
from what i quickly saw online this seems to be something the cpu language has to fix, but if im wrong go ahead and scold at me. this is the first thing i have ever done in ghidra haha
i wanted to look at ghidra using a binary i knew 100% what it did and what was what, so i threw my loader from priiloader in it.
to my surprise it wasn't able to disassemble all the asm.
ive included a zip with the binary, the map & .s generated by gcc.
loader.zip
when i reached the main function ( @ 0x58C ) , and pressed D to disassemble it seems to not be able to disassemble the first instruction ( 0x2C030000 : cmpwi r3, 0 ), all the rest seems ok.
weirdly enough it recognizes a cmpwi r4, 0 (0x2E040000 @ 0x5A0 ) later on correctly...?
from what i quickly saw online this seems to be something the cpu language has to fix, but if im wrong go ahead and scold at me. this is the first thing i have ever done in ghidra haha
i've also verified with shell-storm.org that the data is ok :
http://shell-storm.org/online/Online-Assembler-and-Disassembler/?opcodes=2C+03+00+00%0D%0A4D+82+00+20+%0D%0A94+21+FF+E8+%0D%0A7D+80+00+26&arch=ppc64&endianness=big&dis_with_addr=True&dis_with_raw=True&dis_with_ins=True#disassembly
The text was updated successfully, but these errors were encountered: