public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* help needed in modifying ix86_expand_epilogue/prologue
       [not found] ` <cf2132031003132336q470f35e0s1565c5dc89b65e86@mail.gmail.com>
@ 2010-03-14  8:24   ` Vaibhav Shrimali
  0 siblings, 0 replies; only message in thread
From: Vaibhav Shrimali @ 2010-03-14  8:24 UTC (permalink / raw)
  To: gcc-patches

I am doing my research in the area of System Security. Eventually I
have come to a point where I need to implement a dubious approach
which requires me to make changes in the ix86_expand_epilogue/prologue
functions of the i386.c file of the compiler.
I need to add another copy of return address before the pushing the
frame pointer on the stack. Then need to modify the copy of return
address return address. Then in the epilogue I need to track if there
is any modification to the copy of return address, if so then I need
to redirect the program flow.
I have got basic understanding of the two functions mentioned above
but haven't been able to determine how to get the job done since I
don't have much experience with the internals of GCC compiler.
Please help me out here. This is critical for my research.  I know it
doesn't require much modification to the compiler. Please guide me
through.
Thank You.
Hoping an urgent reply from the community.

--
Vaibhav Shrimali
BTech(ICT), DA-IICT
Gandhinagar

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-14  7:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <cf2132031003132332u40249ac5u21c0c7ae8ee2031b@mail.gmail.com>
     [not found] ` <cf2132031003132336q470f35e0s1565c5dc89b65e86@mail.gmail.com>
2010-03-14  8:24   ` help needed in modifying ix86_expand_epilogue/prologue Vaibhav Shrimali

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).