Latest available version: IDA and decompilers v8.4.240320sp1 see all releases
Hex-Rays logo State-of-the-art binary code analysis tools
email icon

Information about a structure type (assembly level) More...

#include <struct.hpp>

Public Member Functions

bool is_varstr (void) const
 Is variable size structure?
 
bool is_union (void) const
 Is a union?
 
bool has_union (void) const
 Has members of type "union"?
 
bool like_union (void) const
 Is a union or contains members of type "union"?
 
bool is_choosable (void) const
 Is included in chooser list? Use set_struc_listed to change the listed status.
 
bool from_til (void) const
 Does structure come from a type library?
 
bool is_hidden (void) const
 Is the structure collapsed? Use set_struc_hidden to change the hidden status.
 
bool is_frame (void) const
 Is this structure a function frame?
 
int get_alignment (void) const
 See SF_ALIGN.
 
bool is_ghost (void) const
 Is a ghost copy of a local type?
 
bool is_synced () const
 Is synced with a local type?
 
bool is_mappedto () const
 Is mapped to a local type?
 
bool is_copyof () const
 Is copied from a local type?
 
void set_alignment (int shift)
 Do not use; use set_struc_align()
 
member_tget_last_member ()
 Get pointer to the last member.
 
const member_tget_last_member () const
 

Public Attributes

tid_t id
 struct id
 
uint32 memqty
 number of members
 
member_tmembers
 only defined members are stored here. More...
 
ushort age
 not used
 
uint32 props
 Structure properties
 
int32 ordinal
 corresponding local type ordinal number
 

Protected Member Functions

 struc_t (void)
 plugins may not create struc_t instances. More...
 

Detailed Description

Information about a structure type (assembly level)

Constructor & Destructor Documentation

◆ struc_t()

struc_t::struc_t ( void  )
inlineprotected

plugins may not create struc_t instances.

they should use add_struc() and get_struc()

Member Data Documentation

◆ members

member_t* struc_t::members

only defined members are stored here.

there may be gaps between members.


The documentation for this class was generated from the following file: