title: how to get the actual address of `func` from `callq func@PLT`
body: <p>In my Linux program, I need a function that takes an address <code>addr</code> and checks whether a <code>callq</code> instruction placed at <code>addr</code> is calling an specific function <code>func</code> loaded from a shared library. I mean, I need to check whether I have something like <code>callq func@PLT</code> at <code>addr</code>.</p>
  
  <p>So, on Linux, how to reach the real address of a function <code>func</code> from a <code>callq func@PLT</code> instruction?</p>