Skip to content

ida plugin: 'NoneType' object is not subscriptable. #804

@busmaker

Description

@busmaker

Hey, I got an error from ida plugin when using Deflat function.

  ....
  File "s:\Python\Python37\Lib\site-packages\qiling\extensions\idaplugin\qilingida.py", line 2332, in <listcomp>
    [x.handler() for x in self.menuitems if x.action == action]
  File "s:\Python\Python37\Lib\site-packages\qiling\extensions\idaplugin\qilingida.py", line 2043, in ql_deflat
    if not self._search_path():
  File "s:\Python\Python37\Lib\site-packages\qiling\extensions\idaplugin\qilingida.py", line 1803, in _search_path
    self.deflatqlemu.start()
  File "s:\Python\Python37\Lib\site-packages\qiling\extensions\idaplugin\qilingida.py", line 991, in start
    **kwargs)
  File "S:\Python\Python37\lib\site-packages\qiling\core.py", line 144, in __init__
    if not os.path.exists(str(self._argv[0])):
TypeError: 'NoneType' object is not subscriptable

I used Deflat against JNI_Onload got this error.

libnative-lib.zip (about 623KB)

IDA: 7.5 pro Windows
Qiling: 1.2.4.dev0 (latest commit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions