package linksem

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

abi_riscv_elf_header contains types and definitions relating to ABI * specific ELF header functionality for the RISCV ABI.

val abi_riscv_data_encoding : Nat_big_num.num
val abi_riscv_endianness : Endianness.endianness
val abi_riscv_file_class : Nat_big_num.num
val abi_riscv_file_version : Nat_big_num.num
val abi_riscv_page_size_min : Nat_big_num.num
val abi_riscv_page_size_max : Nat_big_num.num
val is_valid_abi_riscv_machine_architecture : Nat_big_num.num -> bool

is_valid_abi_riscv_machine_architecture m checks whether the ELF header's * machine architecture is valid according to the ABI-specific specification.

val is_valid_abi_riscv_magic_number : Uint32_wrapper.uint32 list -> bool

is_valid_abi_riscv_magic_number magic checks whether the ELF header's * magic number is valid according to the ABI-specific specification. * File class must be 64-bit (pg 60) * Data encoding must be little endian (pg 60)

OCaml

Innovation. Community. Security.