12345678910111213141516171819202122232425262728293031323334(*Generated by Lem from gnu_extensions/gnu_ext_program_header_table.lem.*)(** [gnu_ext_program_header_table] contains GNU extension specific functionality
* related to the program header table.
*)openLem_basic_classesopenLem_num(** GNU extensions, as defined in the LSB, see section 11.2. *)(** The element specifies the location and size of a segment that may be made
* read-only after relocations have been processed.
*)letelf_pt_gnu_relro:Nat_big_num.num=(Nat_big_num.add(Nat_big_num.mul((Nat_big_num.of_int4))((Nat_big_num.of_int421345620)))((Nat_big_num.of_int2)))(* 0x6474e552 *)(** The [p_flags] member specifies the permissions of the segment containing the
* stack and is used to indicate whether the stack should be executable.
*)letelf_pt_gnu_stack:Nat_big_num.num=(Nat_big_num.add(Nat_big_num.mul((Nat_big_num.of_int4))((Nat_big_num.of_int421345620)))((Nat_big_num.of_int1)))(* 0x6474e551 *)(** Element specifies the location and size of exception handling information. *)letelf_pt_gnu_eh_frame:Nat_big_num.num=(Nat_big_num.mul((Nat_big_num.of_int4))((Nat_big_num.of_int421345620)))(* 0x6474e550 *)(** [string_of_gnu_ext_segment_type m] produces a string representation of
* GNU extension segment type [m].
*)(*val string_of_gnu_ext_segment_type : natural -> string*)letstring_of_gnu_ext_segment_typept:string=(ifNat_big_num.equalptelf_pt_gnu_relrothen"GNU_RELRO"elseifNat_big_num.equalptelf_pt_gnu_stackthen"GNU_STACK"elseifNat_big_num.equalptelf_pt_gnu_eh_framethen"GNU_EH_FRAME"else"Invalid GNU EXT segment type")