IDAPython on IDA 9: idc.SEARCH_DOWN does no longer exists?

I have an IDAPython script that uses idc.SEARCH_DOWN. Now on IDA 9 it doesn’t work anymore: 'idc' has no attribute 'SEARCH_DOWN'

idc.ida_search.find_not_func(text_start, idc.SEARCH_DOWN)

The migration guide doesn’t say anything about removed fields from idc.

Hi there!
It seems the constant SEARCH_DOWN is available in the ida_search module ( ida_search.SEARCH_DOWN)

As a general tip, I find it useful to grep the whole ida/python folder when I am looking for something that is not in the documentation

Cheers

1 Like