- or download this
#include <stdio.h>
...
int got_ifelse = ifelse( 1 );
return 0;
}
- or download this
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/s
+pecs
...
Thread model: posix
gcc version 3.3.5-20050130 (Gentoo Hardened Linux 3.3.5.20050130-r1,
ssp-3.3.5.20050130-1, pie-8.7.7.1)
- or download this
# trinary function
.LC0:
...
.size ifelse, .-ifelse
.globl __stack_smash_handler
.section .rodata
- or download this
# trinary
movl %eax, -28(%ebp) # to_return
# ifelse
movl $1, -28(%ebp) # to_return