Tag Archives: ida-pro
IDA Script: Fixing 16bit pushed data segment references
A good friend has started reversing an old 16bit Borland C++ (3.1?) program, and had lots of stack push data segment offsets that were not correctly cross referencing. After telling him the shortcuts for manually fixing the issue (press O … Continue reading
IDA-Pro and Pascal: Sets & Propogating Types
In Pascal there is the Set object, that you set (n<256) bits and then can later check if bit n is set or not. Sort of like a bool array. When you decompile a DOS Pascal program the IDA-Pro Flirt … Continue reading
IDA Pro and Pascal: base one arrays
Today I have finally solved how to handle Pascals base one arrays in IDA Pro. So if you have a fixed size array block, it will normally be packed after some other data. you can see the stru_1DA79 is an … Continue reading
IDA Script: Fixing overlay jumps
In the DOS Gold Box games they use overlays to manage the ‘more code than memory’ problem of the DOS environment. So when this code here (seg000:00F6) calls the sub_21979 it goes via a sub function sub_10180 Which jumps to … Continue reading
IDA Script: Remove empty auto labels
When working in IDA to reverse games, you can end up with lots of dummy/empty labels, that are auto generated when doing offset work. Here’s my script to remove them. First how it happens. You find a value you are … Continue reading