| ... | @@ -4229,8 +4229,8 @@ pub const CONTEXT = switch (native_arch) { | ... | @@ -4229,8 +4229,8 @@ pub const CONTEXT = switch (native_arch) { |
| 4229 | SegSs: DWORD, | 4229 | SegSs: DWORD, |
| 4230 | ExtendedRegisters: [512]BYTE, | 4230 | ExtendedRegisters: [512]BYTE, |
| 4231 | | 4231 | |
| 4232 | pub fn getRegs(ctx: *const CONTEXT) struct { bp: usize, ip: usize } { | 4232 | pub fn getRegs(ctx: *const CONTEXT) struct { bp: usize, ip: usize, sp: usize } { |
| 4233 | return .{ .bp = ctx.Ebp, .ip = ctx.Eip }; | 4233 | return .{ .bp = ctx.Ebp, .ip = ctx.Eip, .sp = ctx.Esp }; |
| 4234 | } | 4234 | } |
| 4235 | }, | 4235 | }, |
| 4236 | .x86_64 => extern struct { | 4236 | .x86_64 => extern struct { |