hapstone-0.2.0.1: Capstone bindings for Haskell

Copyright(c) Inokentiy Babushkin, 2016
LicenseBSD3
MaintainerInokentiy Babushkin <inokentiy.babushkin@googlemail.com>
Stabilityexperimental
Safe HaskellSafe
LanguageHaskell2010

Hapstone.Internal.Sparc

Description

This module contains SPARC specific datatypes and their respective Storable instances. Most of the types are used internally and can be looked up here. Some of them are currently unused, as the headers only define them as symbolic constants whose type is never used explicitly, which poses a problem for a memory-safe port to the Haskell language, this is about to get fixed in a future version.

Apart from that, because the module is generated using C2HS, some of the documentation is misplaced or rendered incorrectly, so if in doubt, read the source file.

Synopsis

Documentation

data SparcReg Source #

SPARC registers

data CsSparcOp Source #

Constructors

Reg Word32

register value for SparcOpReg operands

Imm Int32

immediate value for SparcOpImm operands

Mem SparcOpMemStruct

base,index,disp value for SparcOpMem operands

Undefined

invalid operand value, for SparcOpInvalid operand

data CsSparc Source #

instruction datatype

Constructors

CsSparc 

Fields

  • cc :: SparcCc

    condition code

  • hint :: SparcHint

    branch hint

  • operands :: [CsSparcOp]

    operand list of this instruction, *MUST* have <= 4 elements, else you'll get a runtime error when you (implicitly) try to write it to memory via it's Storable instance

data SparcInsn Source #

SPARC instructions

Constructors

SparcInsInvalid 
SparcInsAddcc 
SparcInsAddx 
SparcInsAddxcc 
SparcInsAddxc 
SparcInsAddxccc 
SparcInsAdd 
SparcInsAlignaddr 
SparcInsAlignaddrl 
SparcInsAndcc 
SparcInsAndncc 
SparcInsAndn 
SparcInsAnd 
SparcInsArray16 
SparcInsArray32 
SparcInsArray8 
SparcInsB 
SparcInsJmp 
SparcInsBmask 
SparcInsFb 
SparcInsBrgez 
SparcInsBrgz 
SparcInsBrlez 
SparcInsBrlz 
SparcInsBrnz 
SparcInsBrz 
SparcInsBshuffle 
SparcInsCall 
SparcInsCasx 
SparcInsCas 
SparcInsCmask16 
SparcInsCmask32 
SparcInsCmask8 
SparcInsCmp 
SparcInsEdge16 
SparcInsEdge16l 
SparcInsEdge16ln 
SparcInsEdge16n 
SparcInsEdge32 
SparcInsEdge32l 
SparcInsEdge32ln 
SparcInsEdge32n 
SparcInsEdge8 
SparcInsEdge8l 
SparcInsEdge8ln 
SparcInsEdge8n 
SparcInsFabsd 
SparcInsFabsq 
SparcInsFabss 
SparcInsFaddd 
SparcInsFaddq 
SparcInsFadds 
SparcInsFaligndata 
SparcInsFand 
SparcInsFandnot1 
SparcInsFandnot1s 
SparcInsFandnot2 
SparcInsFandnot2s 
SparcInsFands 
SparcInsFchksm16 
SparcInsFcmpd 
SparcInsFcmpeq16 
SparcInsFcmpeq32 
SparcInsFcmpgt16 
SparcInsFcmpgt32 
SparcInsFcmple16 
SparcInsFcmple32 
SparcInsFcmpne16 
SparcInsFcmpne32 
SparcInsFcmpq 
SparcInsFcmps 
SparcInsFdivd 
SparcInsFdivq 
SparcInsFdivs 
SparcInsFdmulq 
SparcInsFdtoi 
SparcInsFdtoq 
SparcInsFdtos 
SparcInsFdtox 
SparcInsFexpand 
SparcInsFhaddd 
SparcInsFhadds 
SparcInsFhsubd 
SparcInsFhsubs 
SparcInsFitod 
SparcInsFitoq 
SparcInsFitos 
SparcInsFlcmpd 
SparcInsFlcmps 
SparcInsFlushw 
SparcInsFmean16 
SparcInsFmovd 
SparcInsFmovq 
SparcInsFmovrdgez 
SparcInsFmovrqgez 
SparcInsFmovrsgez 
SparcInsFmovrdgz 
SparcInsFmovrqgz 
SparcInsFmovrsgz 
SparcInsFmovrdlez 
SparcInsFmovrqlez 
SparcInsFmovrslez 
SparcInsFmovrdlz 
SparcInsFmovrqlz 
SparcInsFmovrslz 
SparcInsFmovrdnz 
SparcInsFmovrqnz 
SparcInsFmovrsnz 
SparcInsFmovrdz 
SparcInsFmovrqz 
SparcInsFmovrsz 
SparcInsFmovs 
SparcInsFmul8sux16 
SparcInsFmul8ulx16 
SparcInsFmul8x16 
SparcInsFmul8x16al 
SparcInsFmul8x16au 
SparcInsFmuld 
SparcInsFmuld8sux16 
SparcInsFmuld8ulx16 
SparcInsFmulq 
SparcInsFmuls 
SparcInsFnaddd 
SparcInsFnadds 
SparcInsFnand 
SparcInsFnands 
SparcInsFnegd 
SparcInsFnegq 
SparcInsFnegs 
SparcInsFnhaddd 
SparcInsFnhadds 
SparcInsFnor 
SparcInsFnors 
SparcInsFnot1 
SparcInsFnot1s 
SparcInsFnot2 
SparcInsFnot2s 
SparcInsFone 
SparcInsFones 
SparcInsFor 
SparcInsFornot1 
SparcInsFornot1s 
SparcInsFornot2 
SparcInsFornot2s 
SparcInsFors 
SparcInsFpack16 
SparcInsFpack32 
SparcInsFpackfix 
SparcInsFpadd16 
SparcInsFpadd16s 
SparcInsFpadd32 
SparcInsFpadd32s 
SparcInsFpadd64 
SparcInsFpmerge 
SparcInsFpsub16 
SparcInsFpsub16s 
SparcInsFpsub32 
SparcInsFpsub32s 
SparcInsFqtod 
SparcInsFqtoi 
SparcInsFqtos 
SparcInsFqtox 
SparcInsFslas16 
SparcInsFslas32 
SparcInsFsll16 
SparcInsFsll32 
SparcInsFsmuld 
SparcInsFsqrtd 
SparcInsFsqrtq 
SparcInsFsqrts 
SparcInsFsra16 
SparcInsFsra32 
SparcInsFsrc1 
SparcInsFsrc1s 
SparcInsFsrc2 
SparcInsFsrc2s 
SparcInsFsrl16 
SparcInsFsrl32 
SparcInsFstod 
SparcInsFstoi 
SparcInsFstoq 
SparcInsFstox 
SparcInsFsubd 
SparcInsFsubq 
SparcInsFsubs 
SparcInsFxnor 
SparcInsFxnors 
SparcInsFxor 
SparcInsFxors 
SparcInsFxtod 
SparcInsFxtoq 
SparcInsFxtos 
SparcInsFzero 
SparcInsFzeros 
SparcInsJmpl 
SparcInsLdd 
SparcInsLd 
SparcInsLdq 
SparcInsLdsb 
SparcInsLdsh 
SparcInsLdsw 
SparcInsLdub 
SparcInsLduh 
SparcInsLdx 
SparcInsLzcnt 
SparcInsMembar 
SparcInsMovdtox 
SparcInsMov 
SparcInsMovrgez 
SparcInsMovrgz 
SparcInsMovrlez 
SparcInsMovrlz 
SparcInsMovrnz 
SparcInsMovrz 
SparcInsMovstosw 
SparcInsMovstouw 
SparcInsMulx 
SparcInsNop 
SparcInsOrcc 
SparcInsOrncc 
SparcInsOrn 
SparcInsOr 
SparcInsPdist 
SparcInsPdistn 
SparcInsPopc 
SparcInsRd 
SparcInsRestore 
SparcInsRett 
SparcInsSave 
SparcInsSdivcc 
SparcInsSdivx 
SparcInsSdiv 
SparcInsSethi 
SparcInsShutdown 
SparcInsSiam 
SparcInsSllx 
SparcInsSll 
SparcInsSmulcc 
SparcInsSmul 
SparcInsSrax 
SparcInsSra 
SparcInsSrlx 
SparcInsSrl 
SparcInsStbar 
SparcInsStb 
SparcInsStd 
SparcInsSt 
SparcInsSth 
SparcInsStq 
SparcInsStx 
SparcInsSubcc 
SparcInsSubx 
SparcInsSubxcc 
SparcInsSub 
SparcInsSwap 
SparcInsTaddcctv 
SparcInsTaddcc 
SparcInsT 
SparcInsTsubcctv 
SparcInsTsubcc 
SparcInsUdivcc 
SparcInsUdivx 
SparcInsUdiv 
SparcInsUmulcc 
SparcInsUmulxhi 
SparcInsUmul 
SparcInsUnimp 
SparcInsFcmped 
SparcInsFcmpeq 
SparcInsFcmpes 
SparcInsWr 
SparcInsXmulx 
SparcInsXmulxhi 
SparcInsXnorcc 
SparcInsXnor 
SparcInsXorcc 
SparcInsXor 
SparcInsRet 
SparcInsRetl 
SparcInsEnding