Support running via "idat"
Closed this issue · 0 comments
srmish-vdoo commented
When running sark scripts via idat
, sark causes IDA to abort because of qt
imports
(I'm guessing the qt
DLL can't be loaded into a console process? Maybe it's looking for user32
functions?)
Specifically, IDA aborts the script's execution with the error:
DLL load failed: The specified procedure could not be found
Workaround
Comment out any code that uses Sark's ui
module:
__init__.py
Lines 36, 48
function.py
Line 9 (and subsequent uses of updates_ui
)
line.py
Line 8 (and subsequent uses of updates_ui
)
Steps to reproduce (Windows)
Run from command prompt:
"C:\Program Files\IDA 7.2\idat.exe" -S"somesarkscript.py" someidb.idb