#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*/ printf(char *);
void help() {
  printf("-m : http attack mode (normal, cc)\n"
         "-s : attack taget ip address\n"
         "-p : attack target ip's port\n"
         "-i : source ip address that is start attack\n"
         "-n : the number of ip address\n"
         "-o : the number of port\n"
         "-x : syn per sec\n"
         "-d : device name\n"
         "-h : help message\n");
  printf("example: multi_bot -m cc -s 18.0.0.1 -p 80 -i 9.1.1.1 -n 100 -o 10 "
         "-x 100 -d eth0\n");
  printf("example: multi_bot -m cc -s 10.10.2.242 -p 80 -i 10.10.2.243 -n 100 "
         "-o 10 -x 100 -d eth1\n");
}


x86 assembly (clang, -O0):
<help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xfcd(%rip),%rdi
call   1030 <printf@plt>
lea    0x1014(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<help>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xfcf(%rip),%rdi
call   1030 <puts@plt>
lea    0x1015(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [244 x i8] c"-m : http attack mode (normal, cc)\0A-s : attack taget ip address\0A-p : attack target ip's port\0A-i : source ip address that is start attack\0A-n : the number of ip address\0A-o : the number of port\0A-x : syn per sec\0A-d : device name\0A-h : help message\0A\00"
@.str.1 = [83 x i8] c"example: multi_bot -m cc -s 18.0.0.1 -p 80 -i 9.1.1.1 -n 100 -o 10 -x 100 -d eth0\0A\00"
@.str.2 = [90 x i8] c"example: multi_bot -m cc -s 10.10.2.242 -p 80 -i 10.10.2.243 -n 100 -o 10 -x 100 -d eth1\0A\00"
define void @help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([244 x i8], [244 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([90 x i8], [90 x i8]* @.str.2, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [243 x i8] c"-m : http attack mode (normal, cc)\0A-s : attack taget ip address\0A-p : attack target ip's port\0A-i : source ip address that is start attack\0A-n : the number of ip address\0A-o : the number of port\0A-x : syn per sec\0A-d : device name\0A-h : help message\00"
@str.3 = [82 x i8] c"example: multi_bot -m cc -s 18.0.0.1 -p 80 -i 9.1.1.1 -n 100 -o 10 -x 100 -d eth0\00"
@str.4 = [89 x i8] c"example: multi_bot -m cc -s 10.10.2.242 -p 80 -i 10.10.2.243 -n 100 -o 10 -x 100 -d eth1\00"
define void @help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([243 x i8], [243 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([82 x i8], [82 x i8]* @str.3, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([89 x i8], [89 x i8]* @str.4, i64 0, i64 0))
ret void
}