pub struct TLS<'a> { /* private fields */ }
Implementations§
§impl TLS<'_>
impl TLS<'_>
pub fn callbacks(&self) -> Vec<u64>
pub fn callbacks(&self) -> Vec<u64>
List of callbacks associated with the current TLS
These functions are called before any other functions.
pub fn addressof_index(&self) -> u64
pub fn addressof_index(&self) -> u64
The location to receive the TLS index assigned by the loader
pub fn addressof_callbacks(&self) -> u64
pub fn addressof_callbacks(&self) -> u64
Pointer to an array of TLS callback functions.
The array is null-terminated, so if there is no callback function this field points to 4 bytes set to zero.
See TLS::callbacks
pub fn sizeof_zero_fill(&self) -> u64
pub fn sizeof_zero_fill(&self) -> u64
Size in bytes of the zero to be padded after the data specified by TLS::data_template
pub fn characteristics(&self) -> u64
pub fn characteristics(&self) -> u64
The four bits [23:20]
describe alignment info.
Possible values are those defined as IMAGE_SCN_ALIGN_*
, which are also used to describe
alignment of section in object files.
The other 28 bits are reserved for future use.
pub fn data_template(&self) -> &[u8] ⓘ
pub fn data_template(&self) -> &[u8] ⓘ
The initial content used to initialize TLS data.
pub fn addressof_raw_data(&self) -> (u64, u64)
pub fn addressof_raw_data(&self) -> (u64, u64)
Range of addresses where the TLS::data_template
is located.
pub fn directory(&self) -> Option<DataDirectory<'_>>
pub fn directory(&self) -> Option<DataDirectory<'_>>
The data directory describing the TLS