kit

kit
git clone https://git.ryansepassi.com/git/kit.git
Log | Files | Refs | README

18_bti_note.c (423B)


      1 /* Exercises arch-specific note/attribute sections produced when AArch64
      2  * branch-target identification (BTI) is requested:
      3  *   - .note.gnu.property: SHT_NOTE describing the BTI/PAC feature bits.
      4  *   - .ARM.attributes:    LOPROC+0x3 (arch-specific sh_type), the public
      5  *                         ARM build-attribute table.
      6  * Both must round-trip with their original sh_type and contents. */
      7 
      8 int f(int x) { return x; }