package linksem
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/Abi_aarch64_relocation/index.html
Module Abi_aarch64_relocation
Source
abi_aarch64_relocation
contains types and definitions relating to ABI * specific relocation functionality for the AArch64 ABI (little-endian case).
Relocations
Treated as R_AARCH6_NONE
string_of_aarch64_relocation_type m
produces a string representation of the * relocation type m
.
Source
val aarch64_le_reloc :
Nat_big_num.num ->
bool
* ('abifeature Memory_image.annotated_memory_image ->
Nat_big_num.num ->
Memory_image.symbol_reference_and_reloc_site ->
Nat_big_num.num
* (Nat_big_num.num ->
Nat_big_num.num ->
Nat_big_num.num ->
Nat_big_num.num))
Source
val abi_aarch64_apply_relocation :
Elf_relocation.elf64_relocation_a ->
Nat_big_num.num ->
Nat_big_num.num ->
Nat_big_num.num ->
Elf_file.elf64_file ->
(Uint64_wrapper.uint64,
Nat_big_num.num Abi_utilities.relocation_operator_expression
* Abi_utilities.integer_bit_width
* Nat_big_num.num Abi_utilities.can_fail)
Pmap.map
Error.error
abi_aarch64_apply_relocation rel s_val p_val got_val ef
produces an AST * of the relocation calculation for relocation type rel
using s_val
, p_val
, * and got_val
as primitive components. * * TODO: unclear from ABI spec. whether overflow check on relocations is * supposed to cause relocation to fail if not satisfied or whether there is * wrap-around. Resolve.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>