Skip to content
  • H.J. Lu's avatar
    x86: Add x86-ibt-test.c · 9c56349b
    H.J. Lu authored and Niels Möller's avatar Niels Möller committed
    On Linux/x86, when CET is enabled, all indirect branch targets must
    start with ENDBR instruction.  Add x86-ibt-test.c to verify that missing
    ENDBR instruction at indirect branch target will trigger SIGSEGV on CET
    platforms.
    9c56349b