Hi all,
I'm using a gcc plugin to do some instrument during compilation.
Instrument in functions is simple. But how can I create new functions,
and append it to executables? I want to instrument in this way: to
create new functions, add my codes into them, then instrument some
calls to them.
fo
Hello everyone,
I'm using GCC 5.4.0. I know that in some situations, GCC will put
data into .text section, to improve performance. I know one case is
jump table, but I'm still curious about other cases. What kind of data
will be put into executable sections? Is there any way to avoid this?
Any ide
) into .text. I wonder if I could forbid this by
setting some GCC optimization options? I want to eliminate such data
in the code sections, and put them into data sections.
2017-06-28 12:40 GMT+08:00 R0b0t1 :
> On Tue, Jun 27, 2017 at 11:00 PM, Benxi Liu wrote:
>> Hello everyone,
>> I