Aimless
March 9th, 2013, 15:24
Hello,
Too long in this business. Gotten used to seeing and doing things my way.
Most importantly, seeing code in ALL-CAPS. And with double spaced lines. Most of the time, that is.
I'm trying to write a plugin for IDA (anywhere 6.1 or upwards), that will automatically convert all lines in the disassembly in CAPITALS. And, double space the lines.
So, instead of:
------------
.text:0100739D push 70h
.text:0100739F push offset stru_1001898
.text:010073A4 call __SEH_prolog
.text:010073A9 xor ebx, ebx
-------snip
You get:
------------
.TEXT:0100739D PUSH 70H
.TEXT:0100739F PUSH OFFSET STRU_1001898
.TEXT:010073A4 CALL __SEH_PROLOG
.TEXT:010073A9 XOR EBX, EBX
-----snip
I don't mind wading though tons of documentation. But any kind soul willing to give me a pointer where exactly to begin? (No, not begin how to use the SDK, I mean, where to begin when you want to manipulate the display in the UI? And that too in the default disassembly window?). The IDA SDK documentation is not exactly...of a sterling quality.
And it's not something I can ask Ilfak or the hex-rays board (you know how it is).
Any suggestions please?
And I really don't mind doing this in IDAPython too, if you think that's going to be better and a more elegant solution.
Have Phun
Too long in this business. Gotten used to seeing and doing things my way.
Most importantly, seeing code in ALL-CAPS. And with double spaced lines. Most of the time, that is.
I'm trying to write a plugin for IDA (anywhere 6.1 or upwards), that will automatically convert all lines in the disassembly in CAPITALS. And, double space the lines.
So, instead of:
------------
.text:0100739D push 70h
.text:0100739F push offset stru_1001898
.text:010073A4 call __SEH_prolog
.text:010073A9 xor ebx, ebx
-------snip
You get:
------------
.TEXT:0100739D PUSH 70H
.TEXT:0100739F PUSH OFFSET STRU_1001898
.TEXT:010073A4 CALL __SEH_PROLOG
.TEXT:010073A9 XOR EBX, EBX
-----snip
I don't mind wading though tons of documentation. But any kind soul willing to give me a pointer where exactly to begin? (No, not begin how to use the SDK, I mean, where to begin when you want to manipulate the display in the UI? And that too in the default disassembly window?). The IDA SDK documentation is not exactly...of a sterling quality.
And it's not something I can ask Ilfak or the hex-rays board (you know how it is).
Any suggestions please?
And I really don't mind doing this in IDAPython too, if you think that's going to be better and a more elegant solution.
Have Phun