extern struct Elf64_Sym [src]
Fields
st_name: Word
st_info: u8
st_other: u8
st_shndx: Elf64_Section
st_value: Elf64_Addr
st_size: Elf64_Xword
Members
Source
pub const Elf64_Sym = extern struct {
st_name: Word,
st_info: u8,
st_other: u8,
st_shndx: Elf64_Section,
st_value: Elf64_Addr,
st_size: Elf64_Xword,
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);
}
}