pub enum SFrameFDEType {
Default,
Flex,
}Expand description
SFrame FDE Types
Ref: https://sourceware.org/binutils/docs-2.46/sframe-spec.html#The-SFrame-FDE-Types
Variants§
Default
SFRAME_FDE_TYPE_DEFAULT The default FDE type. CFA is recovered using the Stack Pointer (SP) or Frame Pointer (FP) plus a signed offset. Return Address (RA) and Frame Pointer (FP) are recovered using the CFA plus a signed offset (or a fixed register for specific architectures like s390x). The variable-length array of bytes trailing each SFrame FRE are interpreted according to the ABI/arch-specific rules for the target architecture. More details in Default FDE Type Interpretation.
Flex
SFRAME_FDE_TYPE_FLEX The flexible FDE type. Used for complex cases such as stack realignment (DRAP), non-standard CFA base registers, or when RA/FP recovery requires dereferencing or non-CFA base registers. The variable-length array of bytes may be interpreted as pairs of Control Data and Offset Data (or Padding Data), allowing for complex recovery rules (e.g., DRAP on AMD64, Stack Realignment). More details in Flexible FDE Type Interpretation.
Trait Implementations§
Source§impl Clone for SFrameFDEType
impl Clone for SFrameFDEType
Source§fn clone(&self) -> SFrameFDEType
fn clone(&self) -> SFrameFDEType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more