public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Accessing program counter registers from within C or Aseembler.
@ 2004-11-16 21:20 A M
  2004-11-16 21:33 ` Jan Engelhardt
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: A M @ 2004-11-16 21:20 UTC (permalink / raw)
  To: linux-kernel

Hello, 

Does anybody know how to access the address of the
current executing instruction in C while the program
is executing? 

Also, is there a method to load a program image from
memory not a file (an exec that works with a memory
address)? Mainly I am looking for a method that brings
a program image into memory modify parts of it and
start the in-memory modified version. 

Can anybody think of a method to replace a thread
image without replacing the whole process image? 

Thanks, 

Ali



		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-11-18 16:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-16 21:20 Accessing program counter registers from within C or Aseembler A M
2004-11-16 21:33 ` Jan Engelhardt
2004-11-16 21:33 ` Valdis.Kletnieks
2004-11-18 10:28   ` Jan Engelhardt
2004-11-18 12:28     ` Pawel Sikora
2004-11-18 15:09   ` Accessing program counter registers from within C or Assembler A M
2004-11-16 21:37 ` Accessing program counter registers from within C or Aseembler Chris Friesen
2004-11-16 21:49 ` linux-os
2004-11-16 23:15 ` [OT]Re: " Jim Nelson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox