proc: load more registers

Adds ability to load x87, SSE and AVX registers.

Fixes #666
This commit is contained in:
aarzilli
2016-11-15 17:16:33 +01:00
parent 63b8fa8269
commit 8f0646e426
29 changed files with 701 additions and 92 deletions

View File

@ -82,7 +82,7 @@ func (t *Thread) saveRegisters() (Registers, error) {
if err != nil {
return nil, fmt.Errorf("could not save register contents")
}
return &Regs{&t.os.registers}, nil
return &Regs{&t.os.registers, nil}, nil
}
func (t *Thread) restoreRegisters() (err error) {