Skip to main content

Module constants

Module constants 

Source
Expand description

This module holds several useful constants.

Constantsยง

JCC_LONG_IMM32_OFFSET
Offset of the 32-bit immediate value in the long conditional jump instruction. Useful for patching jcc instructions.
JCC_LONG_LENGTH
Length of the long conditional jump instruction in bytes.
JCC_SHORT_IMM8_OFFSET
Offset of the 8-bit immediate value in the short conditional jump instruction. Useful for patching jcc instructions.
JCC_SHORT_LENGTH
Length of the short conditional jump instruction in bytes.
JMP_LONG_IMM32_OFFSET
Offset of the 32-bit immediate value in the long jump instruction. Useful for patching jmp instructions.
JMP_LONG_LENGTH
Length of the long jump instruction in bytes.
JMP_SHORT_IMM8_OFFSET
Offset of the 8-bit immediate value in the short jump instruction. Useful for patching jmp instructions.
JMP_SHORT_LENGTH
Length of the short jump instruction in bytes.