package jasmin

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Jasmin.Sct_checker_forwardSource

Sourcetype ty_fun
Sourceval pp_funty : Format.formatter -> (Jasmin.Prog.Name.t * ty_fun) -> unit
Sourceval ty_prog : ('asm -> bool) -> ('info, 'asm) Prog.prog -> Jasmin.Prog.Name.t list -> (Jasmin.Prog.Name.t * ty_fun) list

Type-check a program.

A call ty_prog is_ct_asm p f type-checks (for Speculative Constant-Time) the functions of the program p whose names are given in the list f (defaults to all functions if f is the empty list).

Argument is_ct_asm classifies which assembly operators are assumed to be constant time (i.e., assumed to be safe to apply to sensitive data).

The program must not contain any #spill or #unspill pseudo-operation.

Sourceval compile_infer_msf : ('info, 'asm) Prog.prog -> (Slh_lowering.slh_t list * Slh_lowering.slh_t list) Jasmin.Prog.Hf.t