IDArling
IDArling copied to clipboard
OverflowError: Error while calling Python callback <nav_colorizer> with IDA 7.3
I had this error with IDA 7.3 when loading any idb, as long as IDArling plugin is in the plugins folder even if I don't use IDArling.

I commented this, which seems to be ok and not creating any issue so in case anyone is annoyed and needs a quick fix.
def nav_colorizer(self, ea, nbytes):
"""This is the custom nav colorizer used by the painter."""
self._nbytes = nbytes
# There is a bug in IDA: with a huge number of segments, all the navbar
# is colored with the user color. This will be resolved in IDA 7.2.
cursors = self._plugin.config["cursors"]
#if cursors["navbar"]:
# for user in self._plugin.core.get_users().values():
# # Cursor color
# if ea - nbytes * 2 <= user["ea"] <= ea + nbytes * 2:
# return long(user["color"])
# # Cursor borders
# if ea - nbytes * 4 <= user["ea"] <= ea + nbytes * 4:
# return long(0)
orig = ida_kernwin.call_nav_colorizer(
self._ida_nav_colorizer, ea, nbytes
)
return long(orig)
There is probably a better way of doing it though.