extern struct Elf32_Sym [src]
Fields
st_name: Word
st_value: Elf32_Addr
st_size: Word
st_info: u8
st_other: u8
st_shndx: Elf32_Section
Members
Source
pub const Elf32_Sym = extern struct {
st_name: Word,
st_value: Elf32_Addr,
st_size: Word,
st_info: u8,
st_other: u8,
st_shndx: Elf32_Section,
pub inline fn st_type(self: @This()) u4 {
return @truncate(self.st_info);
}
pub inline fn st_bind(self: @This()) u4 {
return @truncate(self.st_info >> 4);
}
}