This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Binary rewriting of indirect function calls


Abhinav Srivastava wrote:

> 1) what are the ways in which an indirect call instruction can be overwritten by a direct call instruction inside the memory?

I don't understand this question.

> 2) Is it possible to modify gcc in such a way that it generates some "NOP" instructions after each indirect function calls? 

Yes, that can be done.  I don't really know enough about your skills
to say how long it would take you.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]