#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ run_execl_test();
int /*<<< orphan*/ run_execle_test();
int /*<<< orphan*/ run_execlp_test();
int /*<<< orphan*/ run_execvP_test();
int /*<<< orphan*/ run_execv_test();
int /*<<< orphan*/ run_execve_test();
int /*<<< orphan*/ run_execvp_test();
int /*<<< orphan*/ run_posix_spawn_test();
int /*<<< orphan*/ run_posix_spawnp_test();
int /*<<< orphan*/ run_system_test();
int main(int argc, char **argv) {
  run_execve_test();
  run_execl_test();
  run_execle_test();
  run_execlp_test();
  run_execv_test();
  run_execvp_test();
  run_execvP_test();
  run_system_test();
  run_posix_spawn_test();
  run_posix_spawnp_test();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    $0x0,%al
call   1060 <run_execve_test@plt>
mov    $0x0,%al
call   1050 <run_execl_test@plt>
mov    $0x0,%al
call   10b0 <run_execle_test@plt>
mov    $0x0,%al
call   1070 <run_execlp_test@plt>
mov    $0x0,%al
call   10c0 <run_execv_test@plt>
mov    $0x0,%al
call   1090 <run_execvp_test@plt>
mov    $0x0,%al
call   1040 <run_execvP_test@plt>
mov    $0x0,%al
call   1030 <run_system_test@plt>
mov    $0x0,%al
call   1080 <run_posix_spawn_test@plt>
mov    $0x0,%al
call   10a0 <run_posix_spawnp_test@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1060 <run_execve_test@plt>
xor    %eax,%eax
call   1050 <run_execl_test@plt>
xor    %eax,%eax
call   10b0 <run_execle_test@plt>
xor    %eax,%eax
call   1070 <run_execlp_test@plt>
xor    %eax,%eax
call   10c0 <run_execv_test@plt>
xor    %eax,%eax
call   1090 <run_execvp_test@plt>
xor    %eax,%eax
call   1040 <run_execvP_test@plt>
xor    %eax,%eax
call   1030 <run_system_test@plt>
xor    %eax,%eax
call   1080 <run_posix_spawn_test@plt>
xor    %eax,%eax
call   10a0 <run_posix_spawnp_test@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%6 = call i32 (...) @run_execve_test()
%7 = call i32 (...) @run_execl_test()
%8 = call i32 (...) @run_execle_test()
%9 = call i32 (...) @run_execlp_test()
%10 = call i32 (...) @run_execv_test()
%11 = call i32 (...) @run_execvp_test()
%12 = call i32 (...) @run_execvP_test()
%13 = call i32 (...) @run_system_test()
%14 = call i32 (...) @run_posix_spawn_test()
%15 = call i32 (...) @run_posix_spawnp_test()
ret i32 0
}

LLVM IR (-O2):
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 (...) @run_execve_test()
%4 = tail call i32 (...) @run_execl_test()
%5 = tail call i32 (...) @run_execle_test()
%6 = tail call i32 (...) @run_execlp_test()
%7 = tail call i32 (...) @run_execv_test()
%8 = tail call i32 (...) @run_execvp_test()
%9 = tail call i32 (...) @run_execvP_test()
%10 = tail call i32 (...) @run_system_test()
%11 = tail call i32 (...) @run_posix_spawn_test()
%12 = tail call i32 (...) @run_posix_spawnp_test()
ret i32 0
}