It seems some of the function calls and enums used may have been removed in IDA 7.1.
Originally I was getting this error in my output window...
C:\Program Files\IDA 7.1\plugins\casc_plugin.py: name 'GetIdaDirectory' is not defined
Traceback (most recent call last):
File "C:\Program Files\IDA 7.1\python\ida_idaapi.py", line 566, in IDAPython_ExecScript
execfile(script, g)
File "C:/Program Files/IDA 7.1/plugins/casc_plugin.py", line 70, in
site.addsitedir(os.path.join(GetIdaDirectory(), "python", "lib", "python2.7", "site-packages"))
NameError: name 'GetIdaDirectory' is not defined
@demonduck and I tried removing the try/except to omit the GetIdaDirectory call (specifically, lines 60-85). Then IDA produced this error...
Failed while executing plugin_t.init():
Traceback (most recent call last):
File "C:/Program Files/IDA 7.1/plugins/casc_plugin.py", line 2705, in init
file_type = IDAW.GetCharPrm(INF_FILETYPE)
NameError: global name 'INF_FILETYPE' is not defined
There may be more incompatibilities as we stopped here without getting the plugin to work with IDA 7.1.
It seems some of the function calls and enums used may have been removed in IDA 7.1.
Originally I was getting this error in my output window...
@demonduck and I tried removing the try/except to omit the GetIdaDirectory call (specifically, lines 60-85). Then IDA produced this error...
There may be more incompatibilities as we stopped here without getting the plugin to work with IDA 7.1.