TransWikia.com

How to run another IDA script using IDApython?

Reverse Engineering Asked on August 21, 2021

I’m using IDA batch scripting to run a script on a dataset of malware

the problem is i need to run the VB6 idc script after auto analysis is finished, and wait for it to finish and find all the functions, then run my own script (my script is in IDApython and VB6 script is a idc file)

to manually run this VB6 script i go to file and choose script file ( there is no menu button or shortcut added) and wait for it to finish and find all VB6 functions

so what is the easiest way to achieve this? can i execute a idc script from my IDApython script and wait for it to finish?

One Answer

Found it in IDAPython documentation.

  • There is a function exec_idc_script here in module ida_expr.I never used it myself but according to the spec it should work.
  • In addition there is a RunPythonStatement in IDC if you need to do it conversely.

Correct answer by w s on August 21, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP