question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing "_ida_netnode.netnode_exist" function in IDA Pro 7.5.201028.

See original GitHub issue

netnode_exist does not seem to exist in v7.5.201028.

CRITICAL:root:internal : Error trying to import module `netnode` from C:\users\c0d3\Application Data\Hex-Rays\IDA Pro\ida_minsc\base\_netnode.py.
Traceback (most recent call last):
  File "C:\users\c0d3\Application Data\Hex-Rays\IDA Pro\idapythonrc.py", line 148, in load_module
    res = self.new_api(name, path)
  File "C:\users\c0d3\Application Data\Hex-Rays\IDA Pro\idapythonrc.py", line 125, in new_api
    res = super(cls, self).new_api(fullname, path)
  File "C:\users\c0d3\Application Data\Hex-Rays\IDA Pro\idapythonrc.py", line 67, in new_api
    return self.imp.load_module(modulename, file, path, description)
  File "C:\users\c0d3\Application Data\Hex-Rays\IDA Pro\ida_minsc\base\_netnode.py", line 17, in <module>
    class netnode(object):
  File "C:\users\c0d3\Application Data\Hex-Rays\IDA Pro\ida_minsc\base\_netnode.py", line 42, in netnode
    exist, exist_name = _ida_netnode.exist, _ida_netnode.netnode_exist
AttributeError: 'module' object has no attribute 'netnode_exist'

Edit:

Interstingly various files match that pattern… wtf.

IDA SDK and Tools/idasdk75/module/java/npool.cpp:  if ( can_create && !netnode_exist(n) )
IDA SDK and Tools/idasdk75/module/java/npool.cpp:    QASSERT(10333, netnode_exist(n));
IDA SDK and Tools/idasdk75/include/netnode.hpp:idaman bool ida_export netnode_exist(const netnode &n);
IDA SDK and Tools/idasdk75/include/netnode.hpp:  friend bool exist(const netnode &n) { return netnode_exist(n); }
...
grep: python/2/ida_32/_ida_nalt.pyd: binary file matches
grep: python/2/ida_32/_ida_netnode.pyd: binary file matches
grep: python/2/ida_64/_ida_nalt.pyd: binary file matches
grep: python/2/ida_64/_ida_netnode.pyd: binary file matches
...
grep: ida64.dll: binary file matches
grep: ida64.exe: binary file matches
grep: idat64.exe: binary file matches
...

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
arizvisacommented, Jul 12, 2021

hm, this seems to have to do with netnode, too, since it uses has:

Python>enum.by_identifier(0xff00020f)
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\users\c0d3\Application Data\Hex-Rays\IDA Pro\ida_minsc\base\enumeration.py", line 114, in by_identifier
    raise E.EnumerationNotFoundError(u"{:s}.by_identifier({!s}) : Unable to locate the enumeration with the specified identifier ({:#x}).".format(__name__, eid, eid))
internal.exceptions.EnumerationNotFoundError: enumeration.by_identifier(4278190607) : Unable to locate the enumeration with the specified identifier (0xff00020f).
Python>idaapi.get_enum_name(0xff00020f)
'RAM1_01'

This is using enumeration.has which has a differing implementation and is thus a different issue. I’ll create a new one for you, and link it though.

0reactions
arizvisacommented, Jul 13, 2021

Closing this issue as it was fixed by PR #138. If the issue still persists, let me know and I can re-open.

Thanks again for your contribution!

Read more comments on GitHub >

github_iconTop Results From Across the Web

IDA updates and releases - Hex Rays
IDA updates and releases. You will find the release history for IDA since version 3.0 on this page. Detailed information on each release...
Read more >
IDAPro cheatsheet - Hex Rays
IDAPro cheatsheet. IDAPro 7.5 – document updated February 09, 2021. File Operations. Parse C header file... Ctrl+F9. Create ASM file... Alt+F10.
Read more >
IDA: What's new in 7.5 - Hex Rays
A powerful disassembler and a versatile debugger.
Read more >
Failures and troubleshooting - Hex Rays
The following failure categories exist: a crash or access violation; internal consistency check failure (interr); graceful failure to decompile a function ...
Read more >
IDA: What's new in 7.5sp3 - Hex Rays
We also improved symbolication of MH_FILESET kernelcaches. Complete changelist: Debugger: improved macOS 11 kernel debugging. MACHO: improve handling of ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found