Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyMaskToAddr ¶
ApplyMaskToAddr applies a mask to an address and returns the string mask. For each bit of the mask / address, the following rules apply:
- If the bitmask bit is 0, the corresponding memory address bit is unchanged.
- If the bitmask bit is 1, the corresponding memory address bit is overwritten with 1.
- If the bitmask bit is X, the corresponding memory address bit is floating and will be marked as 'X' in the resulting string.
Types ¶
type Instruction ¶
type Instruction struct { Type InstructionType Mask Mask Address int Value uint64 }
Click to show internal directories.
Click to hide internal directories.