Messages in this thread | | | From | David Laight <> | Subject | RE: [PATCH] x86/ibt: Implement FineIBT | Date | Tue, 18 Oct 2022 14:43:01 +0000 |
| |
From: Peter Zijlstra > Sent: 18 October 2022 14:36 > > Implement an alternative CFI scheme that merges both the fine-grained > nature of kCFI but also takes full advantage of the coarse grained > hardware CFI as provided by IBT.
Does the hash value for kCFI only depend on the function type? Or is there something like a attribute that can also be included?
Otherwise all void (*)(void *) functions have the same hash.
Any such additional check would also improve compile-time checks.
David
- Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)
| |