B2R2


SecondPass Module

Functions and values

Function or value Description

updateInsInfos insInfoList labelToAddress

Full Usage: updateInsInfos insInfoList labelToAddress

Parameters:
Returns: InsInfo list

This is the second pass. UpdateInsInfos replaces every occurance of Labels coming as operands by their relative address values.

insInfoList : List<InsInfo>
labelToAddress : Map<string, Addr>
Returns: InsInfo list

updateOperands insAddress operandList labelToAddress

Full Usage: updateOperands insAddress operandList labelToAddress

Parameters:
Returns: Operands
insAddress : Addr
operandList : Operand list
labelToAddress : Map<string, Addr>
Returns: Operands