Skip to content

AttributeError: module 'idaapi' has no attribute 'get_ordinal_limit' #138

@xiaoyaod

Description

@xiaoyaod

ida 8.3

INFO:bincat.gui:Launching the analyzer
WARNING:bincat.gui:This file format is not natively supported byBinCAT, you should probably remap the binary.
INFO:bincat.plugin:Current analyzer path: C:\Users\Administrator\AppData\Local\Temp\tmpyu1od82jbincat
INFO:bincat.plugin.npkgen:Generating TNPK file in C:\Users\Administrator\AppData\Local\Temp\tmpxmwuj7iqbincat-generate-header
Traceback (most recent call last):
File "C:\Users/Administrator/AppData/Roaming/Hex-Rays/IDA Pro/plugins\idabincat\gui.py", line 838, in launch_analysis
self.s.start_analysis()
File "C:/Users/Administrator/AppData/Roaming/Hex-Rays/IDA Pro/plugins/bcplugin.py", line 840, in start_analysis
npk_filename = self.analyzer.generate_tnpk()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:/Users/Administrator/AppData/Roaming/Hex-Rays/IDA Pro/plugins/bcplugin.py", line 256, in generate_tnpk
npk_fname = idabincat.npkgen.NpkGen().generate_tnpk(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/Administrator/AppData/Roaming/Hex-Rays/IDA Pro/plugins\idabincat\npkgen.py", line 105, in generate_tnpk
imports_data = self.get_header_data()
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/Administrator/AppData/Roaming/Hex-Rays/IDA Pro/plugins\idabincat\npkgen.py", line 58, in get_header_data
while self.add_types() > 0:
^^^^^^^^^^^^^^^^
File "C:\Users/Administrator/AppData/Roaming/Hex-Rays/IDA Pro/plugins\idabincat\npkgen.py", line 255, in add_types
for ordinal in range(1, idaapi.get_ordinal_limit(idaapi.cvar.idati)):
^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'idaapi' has no attribute 'get_ordinal_limit'

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