1
0
mirror of https://github.com/bitdefender/bddisasm.git synced 2024-11-18 05:28:09 +00:00

bdshemu_fuzz: Fix build

This commit is contained in:
Ionel-Cristinel ANICHITEI 2020-07-30 12:31:39 +03:00
parent ed564dba32
commit c1e796625a

View File

@ -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;