public abstract class AMD64ThreadContext extends java.lang.Object implements ThreadContext
Modifier and Type | Field and Description |
---|---|
static int |
CS |
static int |
DS |
static int |
ERR |
static int |
ES |
static int |
FS |
static int |
FSBASE |
static int |
GS |
static int |
GSBASE |
static int |
NPRGREG |
static int |
R10 |
static int |
R11 |
static int |
R12 |
static int |
R13 |
static int |
R14 |
static int |
R15 |
static int |
R8 |
static int |
R9 |
static int |
RAX |
static int |
RBP |
static int |
RBX |
static int |
RCX |
static int |
RDI |
static int |
RDX |
static int |
RFL |
static int |
RIP |
static int |
RSI |
static int |
RSP |
static int |
SS |
static int |
TRAPNO |
Constructor and Description |
---|
AMD64ThreadContext() |
Modifier and Type | Method and Description |
---|---|
int |
getNumRegisters()
Number of integer registers in the context
|
long |
getRegister(int index)
Get the value of the specified register (0..getNumRegisters() -
1)
|
abstract Address |
getRegisterAsAddress(int index)
This can't be implemented in this class since we would have to
tie the implementation to, for example, the debugging system
|
java.lang.String |
getRegisterName(int index)
Get the name of the specified register (0..getNumRegisters() -
1)
|
CFrame |
getTopFrame(Debugger dbg) |
void |
setRegister(int index,
long value)
Set the value of the specified register (0..getNumRegisters() -
1)
|
abstract void |
setRegisterAsAddress(int index,
Address value)
This can't be implemented in this class since we would have to
tie the implementation to, for example, the debugging system
|
public static final int R15
public static final int R14
public static final int R13
public static final int R12
public static final int R11
public static final int R10
public static final int R9
public static final int R8
public static final int RDI
public static final int RSI
public static final int RBP
public static final int RBX
public static final int RDX
public static final int RCX
public static final int RAX
public static final int TRAPNO
public static final int ERR
public static final int RIP
public static final int CS
public static final int RFL
public static final int RSP
public static final int SS
public static final int FS
public static final int GS
public static final int ES
public static final int DS
public static final int FSBASE
public static final int GSBASE
public static final int NPRGREG
public int getNumRegisters()
ThreadContext
getNumRegisters
in interface ThreadContext
public java.lang.String getRegisterName(int index)
ThreadContext
getRegisterName
in interface ThreadContext
public void setRegister(int index, long value)
ThreadContext
setRegister
in interface ThreadContext
public long getRegister(int index)
ThreadContext
getRegister
in interface ThreadContext
public CFrame getTopFrame(Debugger dbg)
getTopFrame
in interface ThreadContext
public abstract void setRegisterAsAddress(int index, Address value)
setRegisterAsAddress
in interface ThreadContext
public abstract Address getRegisterAsAddress(int index)
getRegisterAsAddress
in interface ThreadContext
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.