📚 OpenRCE is preserved as a read-only archive. Launched at RECon Montreal in 2005. Registration and posting are disabled.








Flag: Tornado! Hurricane!

 Forums >>  IDA Pro  >>  IDAPython 0.8.0 released

Topic created on: January 19, 2006 06:20 CST by Dyce .

Hello everyone,

I am happy to announce that the long-awaited version 0.8.0 of IDAPython has been released.

This version brings another long list of changes both internal and visible. Most notably support for IDA 4.9, Python 2.4 and lot of new IDC and IDA SDK wrappers.

You can grab your copy from the project page.

As always, feedback is very welcome.

  randori82     March 23, 2006 03:46.29 CST
any way to run the idc command 'RunPlugin()' ?

It's in the idapython api, but doesn't look like it was completed.  anyone have any workarounds (besides generating an idc script that will run the RunPlugin command)?

  ZaiRoN     March 23, 2006 06:16.20 CST
Hi.
I'm able to use the command 'RunPlugin()' without problem. Here is a simple example:

---------------------------------------
if RunPlugin('python', 2):
    print 'Plugin runned'
else:
    print 'Something wrong...'
---------------------------------------

It runs the plugin named "Execute_Python_ScriptBox", which is normally available using alt-7 combination.

  randori82     March 23, 2006 14:31.47 CST
you were able to run that from within idapython?

for instance:

test.py
import idc
idc.RunPlugin('plugin',1)

  ZaiRoN     March 23, 2006 15:44.52 CST
Yes I'm able to run it.
Which kind of problems do you have exactly?

  randori82     March 23, 2006 19:19.28 CST
"C:\Program Files\IDA\plugins\idcsamp.plw: incompatible plugin version, skipped
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "C:\Program Files\IDA\python\idc.py", line 379, in RunPlugin
    FIXME()
NameError: global name 'FIXME' is not defined
"

I checked the idc.py (in the 4.8 and 4.9 distribution) and that's the only method call ('FIXME()') there is in the RunPlugin call.

Are you launching yours from within ida?  I even tried just executing that line of code in a single expression launch, but no love.

If still working, what does your code look like for the method 'RunPlugin(name, arg)' in idc.py?

Thanks for the correspondance.  After this little issue I'll be releasing a (tiny) helper tool.

  ZaiRoN     March 24, 2006 05:01.44 CST
Downloading some idapython versions I noticed that the author has changed something.
RunPlugin definition for version 0.7.0:
def RunPlugin(name, arg):
   return idaapi.run_plugin(name, arg)


RunPlugin definition for version 0.8.0:
def RunPlugin(name, arg):
FIXME()
# return idaapi.run_plugin(name, arg)


The word FIXME is a sort of reminder, maybe there are some problems with the function he needs to fix. However you can use 0.7 definition of the function until it works :)

  randori82     March 24, 2006 10:49.37 CST
looks like idaapi.py doesn't support this now either.  maybe there was a change in 4.9 that broke some of that functionality for the plugin portion of the tool.
luckily the ida sdk was froze on ida 5.0, so that'll hopefully stop these types of issues, and definately help plugin/tool development.

  randori82     March 24, 2006 10:50.13 CST
btw - thanks for the correspondance, and thanks dyce for the tool, it rocks!

Note: Registration is required to post to the forums.

There are 31,328 total registered users.


Recently Created Topics
[help] Unpacking VMP...
Mar/12
Reverse Engineering ...
Jul/06
let 'IDAPython' impo...
Sep/24
set 'IDAPython' as t...
Sep/24
GuessType return une...
Sep/20
About retrieving the...
Sep/07
How to find specific...
Aug/15
How to get data depe...
Jul/07
Identify RVA data in...
May/06
Question about memor...
Dec/12


Recent Forum Posts
Finding the procedur...
rolEYder
Question about debbu...
rolEYder
Identify RVA data in...
sohlow
let 'IDAPython' impo...
sohlow
How to find specific...
hackgreti
Problem with ollydbg
sh3dow
How can I write olly...
sh3dow
New LoadMAP plugin v...
mefisto...
Intel pin in loaded ...
djnemo
OOP_RE tool available?
Bl4ckm4n


Recent Blog Entries
halsten
Mar/14
Breaking IonCUBE VM

oleavr
Oct/24
Anatomy of a code tracer

hasherezade
Sep/24
IAT Patcher - new tool for ...

oleavr
Aug/27
CryptoShark: code tracer ba...

oleavr
Jun/25
Build a debugger in 5 minutes

More ...


Recent Blog Comments
nieo on:
Mar/22
IAT Patcher - new tool for ...

djnemo on:
Nov/17
Kernel debugger vs user mod...

acel on:
Nov/14
Kernel debugger vs user mod...

pedram on:
Dec/21
frida.github.io: scriptable...

capadleman on:
Jun/19
Using NtCreateThreadEx for ...

More ...


Imagery
SoySauce Blueprint
Jun 6, 2008

[+] expand

View Gallery (11) / Submit