Skip to main content

header_entry_point

Function header_entry_point 

Source
pub open spec fn header_entry_point(header: &HeaderPt2<'_>) -> u64
Expand description
{
    match *header {
        HeaderPt2::Header32(h) => h.entry_point as u64,
        HeaderPt2::Header64(h) => h.entry_point,
    }
}

The entry-point field, widened from either ELF header representation to u64.