Bug Report: Incorrect jump target in ZydisEncoderEncodeInstructionAbsolute due to missing size hint…
Bug Report: Incorrect jump target in ZydisEncoderEncodeInstructionAbsolute due to missing size hint…: a task in LegoFlow-SWE (Harbor dataset). When using ZydisEncoderEncodeInstructionAbsolute to encode a branch instruction without providing a size hint ( branch width or operand size hint ), the…
The task
When using `ZydisEncoderEncodeInstructionAbsolute` to encode a branch instruction without providing a size hint (`branch_width` or `operand_size_hint`), the resulting instruction can jump to the wrong absolute address. This happens when the encoder predicts a larger instruction size than the minimal encodable size,…
Part of Lego-X/LegoFlow-SWE.