Module aluvm::library

source ·
Expand description

Business logic and data structures for working with AluVM code libraries

Modules

  • Constants defined for AluVM libraries

Structs

  • Error indicating that an end of code segment boundary is reached during read or write operation
  • Cursor for accessing bytecode bounded by CODE_SEGMENT_MAX_LEN length and data segment bounded by DATA_SEGMENT_MAX_LEN
  • ISA extensions segment
  • AluVM executable code library
  • Unique identifier for a library.
  • Library segment data keeping collection of libraries which MAY be used in some program. Libraries are referenced in the bytecode using 16-bit position number in this index.
  • unable to add a library to the library segment: maximum number of libraries (2^16) exceeded
  • Location within a library

Enums

Traits

  • Trait for reading instruction data from bytecode
  • Trait for writing instruction data into bytecode