crucible-llvm-0.6: Support for translating and executing LLVM code in Crucible
Copyright(c) Galois Inc 2011-2016
LicenseBSD3
MaintainerRob Dockins <rdockins@galois.com>
Stabilityprovisional
Safe HaskellSafe-Inferred
LanguageHaskell2010

Lang.Crucible.LLVM.Bytes

Contents

Description

 
Synopsis

Bytes

newtype Bytes Source #

A newtype for expressing numbers of bytes. This newtype is explicitly introduced to avoid confusion between widths expressed as numbers of bits vs numbers of bytes.

Constructors

Bytes 

Fields

Instances

Instances details
Enum Bytes Source # 
Instance details

Defined in Lang.Crucible.LLVM.Bytes

Num Bytes Source # 
Instance details

Defined in Lang.Crucible.LLVM.Bytes

Integral Bytes Source # 
Instance details

Defined in Lang.Crucible.LLVM.Bytes

Real Bytes Source # 
Instance details

Defined in Lang.Crucible.LLVM.Bytes

Methods

toRational :: Bytes -> Rational #

Show Bytes Source # 
Instance details

Defined in Lang.Crucible.LLVM.Bytes

Methods

showsPrec :: Int -> Bytes -> ShowS #

show :: Bytes -> String #

showList :: [Bytes] -> ShowS #

Eq Bytes Source # 
Instance details

Defined in Lang.Crucible.LLVM.Bytes

Methods

(==) :: Bytes -> Bytes -> Bool #

(/=) :: Bytes -> Bytes -> Bool #

Ord Bytes Source # 
Instance details

Defined in Lang.Crucible.LLVM.Bytes

Methods

compare :: Bytes -> Bytes -> Ordering #

(<) :: Bytes -> Bytes -> Bool #

(<=) :: Bytes -> Bytes -> Bool #

(>) :: Bytes -> Bytes -> Bool #

(>=) :: Bytes -> Bytes -> Bool #

max :: Bytes -> Bytes -> Bytes #

min :: Bytes -> Bytes -> Bytes #

natBytesMul :: Natural -> Bytes -> Bytes Source #

Multiply a number of bytes by a natural number