Module program

Module program 

Source

Modules§

asm

Macros§

implement_instruction_visitor
prepare_visitor

Structs§

FrameInfo
LineProgram
A line program state machine.
ProgramBlob
A partially deserialized PolkaVM program.
ProgramExport
ProgramImport
ProgramParseError
ProgramSymbol
RegionInfo
Debug information about a given region of bytecode.

Enums§

FrameKind
Instruction
LineProgramOp
Opcode
Reg
SourceLocation
The source location.

Constants§

BLOB_MAGIC
The magic bytes with which every program blob must start with.
BLOB_VERSION_V1
MAX_INSTRUCTION_LENGTH
SECTION_CODE
SECTION_END_OF_FILE
SECTION_EXPORTS
SECTION_IMPORTS
SECTION_JUMP_TABLE
SECTION_MEMORY_CONFIG
SECTION_OPT_DEBUG_LINE_PROGRAMS
SECTION_OPT_DEBUG_LINE_PROGRAM_RANGES
SECTION_OPT_DEBUG_STRINGS
SECTION_RO_DATA
SECTION_RW_DATA
VERSION_DEBUG_LINE_PROGRAM_V1

Traits§

InstructionVisitor
ParsingVisitor