IDA 5.1 PC-relative addressing fix

Talk about development tools here

Moderator: BigEvilCorporation

Post Reply
drx
Interested
Posts: 16
Joined: Mon Jul 02, 2007 8:45 pm

IDA 5.1 PC-relative addressing fix

Post by drx » Sat Dec 08, 2007 4:04 pm

http://www.hacking-cult.org/download/ida5.1_mc68.rar

Code: Select all

//---------------------------------
// 
//  IDA 5.1 68000 processor module fix by drx 
//  http://www.hacking-cult.org/ 
//  http://www.hidden-palace.org/
// 
//	The module used to display pc-relative addresses as e.g.:
// 
//	  lea abc,a0
// 
//	when it should have been
// 
//	  lea abc(pc),a0
//
//	Due do this, the person disassembling an MD ROM would have to create manual operands for every pc-relative instruction.
//	This module fixes this bug.
//
//	The hack only affects the output function and should not mess the IDB up. However, use at your own risk. 
//
//	Enjoy.
//   
//---------------------------------

Eke
Very interested
Posts: 884
Joined: Wed Feb 28, 2007 2:57 pm
Contact:

Post by Eke » Sun Dec 09, 2007 7:42 pm

thank you
I find this very useful :wink:

KanedaFr
Administrateur
Posts: 1139
Joined: Tue Aug 29, 2006 10:56 am
Contact:

Post by KanedaFr » Mon Dec 10, 2007 8:59 am

cool...you were able to make a module!
I was only able to make an IDC script to help MD Rom disassembling

IDA is definitly a great software...
only problem I have with it is the external file which changes every version (like .int I moded for 4.60 and I'm unable to use it for 4.60+)

org
Newbie
Posts: 8
Joined: Wed Dec 12, 2007 8:08 am

Post by org » Thu Dec 13, 2007 12:05 pm

Do you have such a thing for IDA 5.0 ?

Post Reply