|
|
Log in / Subscribe / Register

reverse inlining inderect call

reverse inlining inderect call

Posted May 21, 2021 18:08 UTC (Fri) by ballombe (subscriber, #9523)
Parent article: Control-flow integrity in 5.13

What about inlining the function performing the indirect call, instatiating the function pointer ?
When applicable, this would remove the indirect call and the performance penalty associated.


to post comments

reverse inlining inderect call

Posted May 22, 2021 3:55 UTC (Sat) by Paf (subscriber, #91811) [Link]

This assume the value of that specific function pointer is known at compile time, doesn’t it? If that’s the case, then none of this is necessary at all.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds