package asli

  1. Overview
  2. Docs
Interpreter for Arm's Architecture Specification Language (ASL)

Install

Dune Dependency

Authors

Maintainers

Sources

0.2.0.tar.gz
md5=f4581fd209256823fa4d569ac96c8cee
sha512=fd4a74294beb9eeeafa80c9224b5dc30f5e5ebde4d53fa601929d283b6ca72154de313874321774914f738ac6f0d640e59452f7d03cb1db7b3a019b48b82e0d4

doc/asli.libASL/LibASL/Eval/Env/index.html

Module Eval.EnvSource

Environment representing both global and local state of the system

Sourcetype t
Sourceval empty : t
Sourceval nestTop : (t -> 'a) -> t -> 'a
Sourceval nest : (t -> 'a) -> t -> 'a
Sourceval addLocalVar : LibASL.Value.AST.l -> t -> AST.ident -> Value.value -> unit
Sourceval addLocalConst : LibASL.Value.AST.l -> t -> AST.ident -> Value.value -> unit
Sourceval addGlobalConst : t -> AST.ident -> Value.value -> unit
Sourceval getGlobalConst : t -> AST.ident -> Value.value
Sourceval addEnum : t -> AST.ident -> Value.value list -> unit
Sourceval getEnum : t -> AST.ident -> Value.value list option
Sourceval isEnumEq : t -> AST.ident -> bool
Sourceval isEnumNeq : t -> AST.ident -> bool
Sourceval addRecord : t -> AST.ident -> (LibASL.Value.AST.ty * AST.ident) list -> unit
Sourceval getRecord : t -> AST.ident -> (LibASL.Value.AST.ty * AST.ident) list option
Sourceval addTypedef : t -> AST.ident -> LibASL.Value.AST.ty -> unit
Sourceval getTypedef : t -> AST.ident -> LibASL.Value.AST.ty option
Sourceval addGlobalVar : t -> AST.ident -> Value.value -> unit
Sourceval setVar : LibASL.Value.AST.l -> t -> AST.ident -> Value.value -> unit
Sourceval addFun : LibASL.Value.AST.l -> t -> AST.ident -> (AST.ident list * AST.ident list * LibASL.Value.AST.l * AST.stmt list) -> unit
Sourceval getInstruction : LibASL.Value.AST.l -> t -> AST.ident -> AST.encoding * AST.stmt list option * bool * AST.stmt list
Sourceval addInstruction : LibASL.Value.AST.l -> t -> AST.ident -> (AST.encoding * AST.stmt list option * bool * AST.stmt list) -> unit
Sourceval getDecoder : t -> AST.ident -> AST.decode_case
Sourceval addDecoder : t -> AST.ident -> AST.decode_case -> unit
Sourceval setImpdef : t -> string -> Value.value -> unit
Sourceval getImpdef : LibASL.Value.AST.l -> t -> string -> Value.value
OCaml

Innovation. Community. Security.