Browse Source

bdshemu_fuzz: Fix build

pull/15/head
Ionel-Cristinel ANICHITEI 2 years ago
parent
commit
c1e796625a
  1. 2
      bdshemu_fuzz/bdshemu_fuzzer.c

2
bdshemu_fuzz/bdshemu_fuzzer.c

@ -107,7 +107,7 @@ void run_shemu(uint8_t *Data, size_t Size, uint8_t Def)
ctx.Registers.RegRsp = 0x101000;
ctx.IntbufSize = (uint32_t)Size + 0x2000;
ctx.Registers.RegFlags = REG_RFLAG_IF | 2;
ctx.Registers.RegFlags = NDR_RFLAG_IF | 2;
ctx.Registers.RegRip = ctx.ShellcodeBase;
ctx.Segments.Cs.Selector = 0x10;

Loading…
Cancel
Save