AsmMain Module
Types
Type | Description |
Functions and values
Function or value | Description |
Full Usage:
assemble parserState isa baseAddr instrs
Parameters:
UserState
isa : ISA
baseAddr : Addr
instrs : AsmInsInfo list
Returns: byte[] list
|
|
Full Usage:
computeAddr idx realLenArr
Parameters:
int
realLenArr : int array
Returns: int64
|
|
Full Usage:
computeDistance myIdx labelIdx maxLenArr
Parameters:
int
labelIdx : int
maxLenArr : int array
Returns: int64
|
|
Full Usage:
computeFitType dist
Parameters:
int64
Returns: int<MeasureProduct<rt, MeasureOne>>
|
|
|
|
Full Usage:
computeMaxLen components
Parameters:
AsmComponent[] list
Returns: int array
|
|
Full Usage:
computeRealLen components
Parameters:
AsmComponent[] list
Returns: int array
|
|
Full Usage:
concretizeLabel sz offset
Parameters:
int<MeasureProduct<rt, MeasureOne>>
offset : int64
Returns: byte[]
|
|
Full Usage:
decideOp parserState maxLenArr myIdx comp
Parameters:
UserState
maxLenArr : int array
myIdx : int
comp : AsmComponent[]
Returns: AsmComponent[]
|
|
Full Usage:
encodeInstruction ins ctxt
Parameters:
AsmInsInfo
ctxt : EncContext
Returns: AsmComponent[]
|
|
Full Usage:
finalize arch parserState realLenArr baseAddr myIdx comp
Parameters:
Architecture
parserState : UserState
realLenArr : int array
baseAddr : Addr
myIdx : int
comp : AsmComponent[]
Returns: byte[]
|
|
Full Usage:
getImm imm
Parameters:
'a[] option
Returns: 'a[]
|
|
Full Usage:
getOpByteOfIncomp relSz _arg1
Parameters:
int<MeasureProduct<rt, MeasureOne>>
_arg1 : Opcode
Returns: byte[]
|
|
|
|