Pages: 1 [2]
Author Topic: IDA Pro helper functions  (Read 12754 times)
fluke9
Full Member
***

Karma: +24/-1
Offline Offline

Posts: 113


« Reply #15 on: October 28, 2019, 10:42:53 AM »

Hello there guys,

Im not so good with IDA and python and im a bit puzzled of how exactly i can run the scripts.

For example for the first one how can i define min and max ? Does IDA support any interactive way where you can type the variables ?

Kind regards.

copy script to a file in your disassembly directory as for example script.py

then type: execfile("script.py") in the IDA python console
afterwards type the functionname and arguments in the console, for example:
processrom(0x80000, 0x80FFFF)

« Last Edit: October 29, 2019, 02:46:28 AM by fluke9 » Logged
Chipburn
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


« Reply #16 on: October 28, 2019, 12:53:22 PM »

Thanks for the replies guys Smiley

I will try those. I guess i can load them as snippets as well for faster access.
Logged
Chipburn
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


« Reply #17 on: October 28, 2019, 03:57:54 PM »

Yes, of course you can. But the whole point of the tools is to avoid having to do it via UI because GUIs suck for handling large amounts of data that is best handled by automation.

Thanks Nyet, i was doing the address naming manually etc. What i was asking about "interactive" if you can use a command in the python script that actually popup a window in IDA to define e.g. min max or load a "file"

For now i followed fluke9 guide and works marvelous.

Cheesy
Logged
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.02 seconds with 17 queries. (Pretty URLs adds 0s, 0q)