[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [patch #5503] Use the inst value to get current instru
From: |
Kirill Kononenko |
Subject: |
[Pnet-developers] [patch #5503] Use the inst value to get current instruction address |
Date: |
Mon, 30 Oct 2006 21:56:50 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060928 (Debian-1.8.0.7-1) Epiphany/2.14 |
URL:
<http://savannah.gnu.org/patch/?5503>
Summary: Use the inst value to get current instruction
address
Project: DotGNU Portable.NET
Submitted by: krokas
Submitted on: Monday 10/30/06 at 21:56
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
_______________________________________________________
Details:
The current approach is: x86_call_imm(inst, 0), x86_pop_reg(inst, EAX). But
if possible a call to 0 should be avoided at all. The patch uses instead:
x86_mov_reg_imm(inst, X86_EAX, inst, 4). Though, to note that this builds
"position-dependent" code which might be not always desirable.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Monday 10/30/06 at 21:56 Name: krokas-061031.patch Size: 3kB By:
krokas
<http://savannah.gnu.org/patch/download.php?file_id=11107>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?5503>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pnet-developers] [patch #5503] Use the inst value to get current instruction address,
Kirill Kononenko <=