x86_64: Is it possible to “in-line substitute” PLT/GOT references?

前端 未结 3 1805
感情败类
感情败类 2020-12-16 03:16

I\'m not sure what a good subject line for this question is, but here we go ...

In order to force code locality / compactness for a critical section of code, I\'m lo

3条回答
  •  温柔的废话
    2020-12-16 04:01

    You can statically link the executable. Just add -static to the final link command, and all you indirect jumps will be replaced by direct calls.

提交回复
热议问题