| From | David Laight <> | Subject | RE: [tip: x86/core] objtool: Find unused ENDBR instructions | Date | Tue, 15 Mar 2022 15:39:52 +0000 |
| |
From: Peter Zijlstra > > objtool: Find unused ENDBR instructions > > Find all ENDBR instructions which are never referenced and stick them > in a section such that the kernel can poison them, sealing the > functions from ever being an indirect call target.
Thought, what happens if the only indirect call is from code in a module?
David
- Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)
|