def deleting_enum_member(self, id, cid): ename = idaapi.get_enum_name(id) value = idaapi.get_enum_member_value(cid) serial = idaapi.get_enum_member_serial(cid) bmask = idaapi.get_enum_member_bmask(cid) self._send_event(EnumMemberDeletedEvent(ename, value, serial, bmask)) return 0
def serial(cls, mid): '''Return the serial of the enumeration member `mid`.''' if not interface.node.is_identifier(mid): raise E.MemberNotFoundError( u"{:s}.serial({:#x}) : Unable to locate member by the specified identifier." .format('.'.join([__name__, cls.__name__]), mid)) return idaapi.get_enum_member_serial(mid)
def serial(self): """Get the member serial (among members of the same value).""" return idaapi.get_enum_member_serial(self.cid)
def serial(cls, mid): '''Return the serial of the enumeration member `mid`.''' return idaapi.get_enum_member_serial(mid)
def serial(cls, mid): '''Return the serial of the enumeration member `mid`.''' return idaapi.get_enum_member_serial(mid)
def serial(identifier): '''Given a member id, return it's serial''' return idaapi.get_enum_member_serial(identifier)
def enum_member_deleted(self, id, cid): value = idaapi.get_enum_member_value(cid) serial = idaapi.get_enum_member_serial(cid) bmask = idaapi.get_enum_member_bmask(cid) self._send_event(EnumMemberDeletedEvent(id, value, serial, bmask)) return 0