mirror of
https://github.com/bitdefender/bddisasm.git
synced 2025-01-05 12:50:56 +00:00
bdshemu_fuzz: Fix build
This commit is contained in:
parent
ed564dba32
commit
c1e796625a
@ -107,7 +107,7 @@ void run_shemu(uint8_t *Data, size_t Size, uint8_t Def)
|
|||||||
ctx.Registers.RegRsp = 0x101000;
|
ctx.Registers.RegRsp = 0x101000;
|
||||||
ctx.IntbufSize = (uint32_t)Size + 0x2000;
|
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.Registers.RegRip = ctx.ShellcodeBase;
|
||||||
|
|
||||||
ctx.Segments.Cs.Selector = 0x10;
|
ctx.Segments.Cs.Selector = 0x10;
|
||||||
|
Loading…
Reference in New Issue
Block a user