Fixes#8832. Use single-comment model for structures, enums, unions, and members. Omit empty comments and stop emitting spurious REPEATABLE_CMT elements.
Co-authored-by: Cursor <cursoragent@cursor.com>
Pass structure type ids to add_struc_member instead of tinfo_t objects and resolve nested structure member types via the typeinfo API. Addresses datatype import failures reported for IDA 9.x.
Fixes#8479
Updated IDA Pro plugins to be compatable with both python 2 and 3.
Installation instructions are the same, however idaxml can alternatively
be placed in the IDA python, IDA python/3, or IDA python/2 directories.
The script originally was incorrectly calling `idc.set_member_cmt` which
takes different arguments to calculate the member struct and offset. And
then it passes the results into the `ida_struct` version. However, this is
already done, so we can just go straight to the `ida_struct` version.
Current script make 1 character for each byte in comment line. So it`s cause double length and incorrect chars in international comments from IDA in Ghidra. This small patch fix it.