ida/disassembly help needed
I'm trying to patch some functions
I'm using IDA to disasm
replace the functions I need.
compile the new asm
but I have a problem in non symblic refs
lui $s0, 0x1111 # Load Upper Immediate
addiu $s0, $s0, 0x222 # Add Immediate Unsigned
Address 0x11110222 has been changed
Any idea how to do it?
no single reply!!!!!!!!!!!!
The people who would be able to answer your question probably saw the title of the thread and ignored it. This might just be the first time when a title like yours is accurate! Usually a thread with a similar title ends up asking a question like "how can I turn on telnet?"
Oh and sorry for being unable to help. Have you considered posting the same topic over at the tivocommunity forum underground section?
Thanks for reply anyway.
@Moderators, you may change the topic to whatever you see.
Not sure I understand the question. There really is no re-assembly. Just find the address you want to change, get the new opcodes, hexedit the app and you are done. You can even disassemble the newly edited app and see that your editing was done correctly.
Originally Posted by mrpenguin
thanks for your reply.
This is a manual process and it's very difficult to modify each and every non symbolic link.
I want to know how patching is done generally- talking in consideration that the new size is not the same as the original.
In general, tivoapp patches are done an instruction at a time. There is no size change: it is a one for one replacement of instructions. I don't know anyone who has tried replacing whole functions, though someone might have done it. The closest thing is the "long patch" in the superpatch, where a new function is written on top of an old one that was no longer called. It's all done manually.
Originally Posted by HNaga
I think I need decompiler not disassembler.
I don't know if there is one for MIPS BE.
Here's a post with links to available tools. It may be dated. Let us know if you find better tools.
Originally Posted by Jamie
Thank you, I'll take a look .
BTW , any one has used MULTI before?
never heard of it, or forgot it.
it's green Hills software for MIPS