kit

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

execm.c (299B)


      1 /* Fixture source for exec.macho — a freestanding aarch64 Mach-O executable.
      2    Regenerate with:
      3      kit cc -target arm64-darwin -ffreestanding -nostdlib -e _start \
      4               execm.c -o exec.macho */
      5 int compute(int a, int b) { return a * b + 7; }
      6 void _start(void) { (void)compute(3, 5); }