I'm developing a python script for IDA Pro that analyzes 32 bit PE files containing an anti-disassembly technique, the problem is that the function that contains the technique isn't being listed in the list of functions using
To solve the problem I tried to add the function to the list with:
segm = idaapi.get_segm_by_name(".text") start = segm.start_ea end = segm.end_ea while start < end: start = idaapi.find_not_func(start, 1) ida_funcs.add_func(start)
start value is the address of the beginning of the function the
ida_funcs.add_func method returns false, meaning that the address can't be added as a function, despite that in the GUI of IDA the function becomes listed.
Do you know what can I do in order to have the script working? Thank you in advance.