Hacker News new | ask | show | jobs
by saagarjha 2369 days ago
That’s not self modifying code, though; it’s just an indirect jump through a pointer.
1 comments

I think the op is saying that the instruction call <stub_function> gets rewritten by the instruction call <resolved_function>.
Generally that kind of thing goes through a GOT/PLT for security and performance reasons.