Skip to main content

Try it Live

Run Bytecode examples in the interactive playground

bool bytecode_is_valid_jump_dest(bytecode_t bytecode, size_t pc)

Check if specific position is valid JUMPDEST.Parameters:
  • bytecode: bytecode_t - Bytecode to check
  • pc: size_t - Program counter (position to check)
Returns: bool - true if position is valid JUMPDESTExample:
Defined in: primitives.h

See Also