tl;drI have an array of structs, I'd like to iterate over it and change fields content, (name, values), upon simple conditions.I can get the offset of the members, but I can't modify them due to the aforementioned error.I have a the following structure in IDA:LOAD:86B70B00 22 F6 DC 86 24 F6 DC+stru_86B70B00   Commands_Array <asc_86DCF622, aQueryOrSetAnSR,          2, \LOAD:86B70B00 86 02 00 00 00 89 F6+                                        ; DATA XREF: sub_85C73BBC+42oLOAD:86B70B00 D2 85 DF F6 D2 85 00+                                        ; LOAD:off_85C73D78oLOAD:86B70B00 00 00 00 00 00 00 00+                                           sub_85D2F688+1, sub_85D2F6DE+1>; 0 ; S ...LOAD:86B70B00 3F F6 DC 86 45 F6 DC+                Commands_Array <0, 0, 0x86DCF63F, Byte_Nothing, sub_0+2>; 1LOAD:86B70B00 86 02 00 00 00 00 00+                Commands_Array <0, 0,          0, sub_0, asc_86DCF646>; 2LOAD:86B70B00 00 00 00 00 00 00 00+                Commands_Array <aDial, sub_0+3, 0x85CAECA9, sub_85CAECAC+1,\LOAD:86B70B00 00 00 00 00 00 00 00+                                           a_end__2>; 3I would like to iterate over it and change the name of each of its membersby examining each member.Getting the offset to the structure member was sort of easy, id = GetStrucIdbyName(struct_name)print 0x%08x % (((base + (struct_size * indx)) + GetMemberOffset(id, Func)))however, whenever I try to MakeName(offset, new_name)I get the following error:can't rename byte as 'Func' because this byte can't have a name (it is  a tail byte).I guess I'm doing something wrong here, but I can't seem to find the right way to access IDA structures and handle them properly.Help would be appreciated and compensated by points, beer and RE-SE fame.
IDAPython: Change struct member content name
idapython;idapro plugins