foxdec-0.1.0.0: Formally Verified x86-64 Decompilation
Safe HaskellSafe-Inferred
LanguageHaskell2010

Generic.HasSize

Synopsis

Documentation

class HasSize a where Source #

Class for things that have a size

Methods

sizeof Source #

Arguments

:: a 
-> Int

size, in bytes

Instances

Instances details
HasSize Register Source # 
Instance details

Defined in X86.Register

Methods

sizeof :: Register -> Int Source #

HasSize Instruction Source # 
Instance details

Defined in X86.Instruction

HasSize storage => HasSize (GenericOperand storage) Source # 
Instance details

Defined in Generic.Operand

Methods

sizeof :: GenericOperand storage -> Int Source #