Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • tools
  • objtool
  • include
  • objtool
  • arch.h
Find file BlameHistoryPermalink
  • Peter Zijlstra's avatar
    objtool: Add IBT/ENDBR decoding · 7d209d13
    Peter Zijlstra authored Mar 08, 2022
    
    
    Intel IBT requires the target of any indirect CALL or JMP instruction
    to be the ENDBR instruction; optionally it allows those two
    instructions to have a NOTRACK prefix in order to avoid this
    requirement.
    
    The kernel will not enable the use of NOTRACK, as such any occurence
    of it in compiler generated code should be flagged.
    
    Teach objtool to Decode ENDBR instructions and WARN about NOTRACK
    prefixes.
    
    Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
    Acked-by: default avatarJosh Poimboeuf <jpoimboe@redhat.com>
    Link: https://lore.kernel.org/r/20220308154319.645963517@infradead.org
    7d209d13
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7