Questions tagged [powerpc]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
43 views

vector table address in mpcXXXX microcontrollers

I'm disassembling some mpcXXXX microcontroller firmware, and I'm trying to find the vector table and the reset interrupt. For example, I know that in ARM, in some of the microcontrollers, the vector ...
2
votes
1answer
95 views

PowerPC ELF32 detecting VLE

I am writing an ELF32 parser and disassembler for PowerPC. Does anyone knows how to detect if the file is using VLE architecture from ELF header? I see that IDA can do it automatically.
1
vote
0answers
35 views

moving info from one register to another using dot, powerpc

There are three simple instructions from Power PC assembly: mr. r7, r3 li r3, 0 beqlr Well, if i understand here all lines correctly, i move value from register r3 to r9, load r3 with 0 and jump to ...
1
vote
1answer
99 views

Powermac gdbserver wrapper/How to attach IDA to powermac application?

How do I debug a powermac application using gdbserver provided there is no gdbserver I've tried compiling various version of gdb found in apple opensource -specifically the gdbserver part but it ...
2
votes
0answers
1k views

IDA Pro PowerPC Decompiler Plugin supporting Floating Point Instructions

So I far I have been using Snowman for PowerPC decompilation. It is bad though but better than nothing. However, right now it doesn't support floating point instructions. They are simply written down ...
4
votes
2answers
432 views

IDA Pro: Define local variables from non-standard powerpc stack register

I am using IDA pro 6.95 (paid version) to RE some PowerPC code. The PowerPC normally uses r1 as the stack pointer, so IDA builds the stack frame and local variables from r1. Parameters are passed in ...
1
vote
1answer
61 views

Copy Export Symbols From Mac to Windows PE

I have both a Mac and Windows version of the same library. However, while the Mac version has export symbols, the Windows version exports by ordinal. The Mac version uses the PPC architecture making ...
2
votes
1answer
511 views

PowerPC reversing finding the SDA and the TOC

For PowerPCs how do you find out the TOC address or the SDA address? Like for example in this case.
1
vote
2answers
1k views

Set register to specific value for use in autoanalysis in IDA Pro 6.9

I'm using IDA Pro 6.9 with some PowerPC disassembly. The code sets up r13 to a value, say 0x10000, then offsets that register to load and store memory in that region. r13 is never modified again in ...
1
vote
1answer
279 views

Append Code To Text Segment With Global Variables?

I have a powerpc computer that takes ELF files for its code. I have made a tool that allows me to extract and inject segments successfully, but I am missing a small piece of information regarding the ...
1
vote
1answer
201 views

Can PowerPC64 ELF file have 32-bit pointers?

I've been given an ELF binary file which self describes as PowerPC 64-bit. The e_entry field of the ELF header points to the beginning of a section called .opd. According to this specification, it is ...
2
votes
2answers
855 views

Disassemble the Decompression method (PowerPC ASM)

Continues from Unknown game data compression method (Gamecube) I have compression data which was start with: [ * SK_ASC* ] and unknown compression method.The list below compression method that I ...
1
vote
1answer
480 views

Why does the PowerPC Compiler emit a clclr instruction before calling a function?

I disassemble my own written code in C to PowerPC assembly, and I can't understand why crclr occurrs before the call to the printf function. C code int main() { int a, b, c; a = 10; b ...