|
|
Subscribe / Log in / New account

Checking the name

Checking the name

Posted Jun 20, 2022 2:38 UTC (Mon) by comex (subscriber, #71521)
In reply to: Checking the name by corbet
Parent article: A new LLVM CFI implementation

Maybe they are thinking of the function pointers in C++ vtables, where you know not just the expected signature, but the name of the virtual method that is being overridden. If you include that in the hash, you can prevent the attacker from replacing it with an unrelated function or method that happens to have the same signature.

Of course, that doesn't apply to C. But it may be possible to get a similar effect with manual annotations of some sort...


to post comments


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