package linksem

  1. Overview
  2. Docs
A formalisation of the core ELF and DWARF file formats written in Lem

Install

Dune Dependency

Authors

Maintainers

Sources

0.8.tar.gz
md5=2075c56715539b3b8f54ae65cc808b8c
sha512=f7c16e4036a1440a6a8d13707a43f0f9f9db0c68489215f948cc300b6a164dba5bf852e58f89503e9d9f38180ee658d9478156ca1a1ef64d6861eec5f9cf43d2

doc/linksem_zarith/Endianness/index.html

Module EndiannessSource

endian.lem defines a type for describing the endianness of an ELF file, * and functions and other operations over that type.

Sourcetype endianness =
  1. | Big
  2. | Little

Type endianness describes the endianness of an ELF file. This is deduced from * the first few bytes (magic number, etc.) of the ELF header.

Sourceval default_endianness : endianness

default_endianness is a default endianness to use when reading in the ELF header * before we have deduced from its entries what the rest of the file is encoded * with.

Sourceval string_of_endianness : endianness -> string

string_of_endianness e produces a string representation of the endianness value * e.

Sourceval instance_Show_Show_Endianness_endianness_dict : endianness Show.show_class
OCaml

Innovation. Community. Security.