#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum SectionKind {
Unknown,
Text,
Data,
ReadOnlyData,
ReadOnlyString,
UninitializedData,
Tls,
UninitializedTls,
TlsVariables,
OtherString,
Other,
Debug,
Linker,
Metadata,
}
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum SymbolKind {
Unknown,
Null,
Text,
Data,
Section,
File,
Label,
Common,
Tls,
}
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum SymbolScope {
Unknown,
Compilation,
Linkage,
Dynamic,
}
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum RelocationKind {
Absolute,
Relative,
Got,
GotRelative,
GotBaseRelative,
GotBaseOffset,
PltRelative,
ImageOffset,
SectionOffset,
SectionIndex,
Other(u32),
}
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum RelocationEncoding {
Generic,
X86Signed,
X86RipRelative,
X86RipRelativeMovq,
X86Branch,
}