remove setEipTo
This commit is contained in:
parent
8bb6a468d2
commit
7262aff3ad
1 changed files with 0 additions and 20 deletions
|
@ -70,23 +70,6 @@ void putCPUinfo()
|
|||
cpu.putFamily();
|
||||
}
|
||||
|
||||
#ifdef XBYAK32
|
||||
struct EipTest : public Xbyak::CodeGenerator {
|
||||
EipTest()
|
||||
{
|
||||
Xbyak::util::setEipTo(this, eax);
|
||||
ret();
|
||||
}
|
||||
};
|
||||
|
||||
void putEip()
|
||||
{
|
||||
EipTest s;
|
||||
int (*getEip)() = s.getCode<int(*)()>();
|
||||
printf("eip=%08x\n", getEip());
|
||||
}
|
||||
#endif
|
||||
|
||||
int main()
|
||||
{
|
||||
#ifdef XBYAK32
|
||||
|
@ -95,7 +78,4 @@ int main()
|
|||
puts("64bit");
|
||||
#endif
|
||||
putCPUinfo();
|
||||
#ifdef XBYAK32
|
||||
putEip();
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue